JSValueIsSymbol top-level property

bool Function(JSContextRef ctx, JSValueRef value) JSValueIsSymbol
final

Tests whether a JavaScript value's type is the symbol type. ctx (JSContextRef) The execution context to use. value (JSValueRef) The JSValue to test. @result (bool) true if value's type is the symbol type, otherwise false.

Implementation

final bool Function(JSContextRef ctx, JSValueRef value) JSValueIsSymbol =
    kLookup<NativeFunction<Bool Function(JSContextRef, JSValueRef)>>(
      'JSValueIsSymbol',
    ).asFunction();