isNumber

abstract val isNumber: Boolean(source)

true if this primitive holds a JSON number value (integer or floating-point, but not boolean).