When writing library functions for others to use i...
# javascript
h
When writing library functions for others to use in their JS, do I have any kotlin built-ins to assure they use the right types as parameters, or do I have to do the checks myself? (E.g. a function with this signature:
fun getSome(num: Int)
− has kotlin any built-in means of rejecting JS use like
getSome("haha");
?)