JSValueIsSymbol top-level property

bool Function(JSContextRef ctx, JSValueRef value) JSValueIsSymbol
final

MacOS 10.15, iOS 13.0 Tests whether a JavaScript value's type is the symbol type. ctx The execution context to use. value The JSValue to test. @result true if value's type is the symbol type, otherwise false.

Implementation

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