isNumber property

bool get isNumber

Tests whether a JavaScript value's type is the number type.

Implementation

bool get isNumber {
  return JSValueRef.jSValueIsNumber(context.pointer, pointer) == 1;
}