.isType(type)
Description
isType returns a boolean of if a value is a specific type
Learn more about types here: Types
Parameters
isType takes one string for the type.
Usage
val = 16
log val.isType("number")
// trueLast updated
Was this helpful?