Null for indexOf() is actually a good idea, thanks...
# stdlib
h
Null for indexOf() is actually a good idea, thanks to Kotlin's type system. Other languages would use exceptions. In assembler we might just set a flag. And in imperative languages it must be some negative value in a signed integer.