JSValueIsString top-level property
Tests whether a JavaScript value's type is the string type.
ctx
(JSContextRef) The execution context to use.
value
(JSValueRef) The JSValue to test.
@result
(bool) true if value's type is the string type, otherwise false.
Implementation
final bool Function(JSContextRef ctx, JSValueRef value) JSValueIsString =
kLookup<NativeFunction<Bool Function(JSContextRef, JSValueRef)>>(
'JSValueIsString',
).asFunction();