1 2 3 4 5 6
/** * Function with receiver * @receiver must be a non-empty string */ fun String.fn() { }