KiteJS
Toggle table of contents
0.8.0
Guide
GitHub
common
Target filter
common
Switch theme
Search in API
Skip to content
KiteJS
kitejs-rhino
/
io.github.yuroyami.kitejs.rhino
/
ScriptableObject
/
Companion
/
ensureType
ensure
Type
inline
fun
<
reified
T
:
Any
>
ensureType
(
obj
:
Any
?
,
functionName
:
String
)
:
T
(
source
)
Checks that
obj
is a
T
, and says which function complained if it is not.