isObjectOfClass method

bool isObjectOfClass(
  1. JSClass jsClass
)

Tests whether a JavaScript value's type is the symbol type. jsClass The JSClass to test against.

Implementation

bool isObjectOfClass(JSClass jsClass) {
  return JSValueIsObjectOfClass(context.ref, _ref, jsClass.ref);
}