dumptruckman07/08/2017, 4:03 AM
fun CharSequence.getThing(): Thing?
feels wrong because it makes seem like the Thing belongs to the CharSequence.
val CharSequence.thing: Thing?
feels wrong because it seems like this should throw an exception if the Thing is not found I'm not really sure what's left. Thoughts?
fun CharSequence.toThing(): Thing?
voddan07/08/2017, 6:37 AM
dumptruckman07/08/2017, 1:12 PM