ensureType

inline fun <reified T : Any> ensureType(obj: Any?, f: IdFunctionObject): T(source)

ensureType that names the function complaining.