isSymbol property

bool get isSymbol

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

Implementation

bool get isSymbol {
  return type == JSType.kJSTypeSymbol;
  // return JSValueIsSymbol(context.ref, _ref);
}