JSValueIsEqual top-level property
bool Function(JSContextRef ctx, JSValueRef a, JSValueRef b, Pointer<JSValueRef> exception)
JSValueIsEqual
final
Tests whether two JavaScript values are equal, as compared by the JS == operator.
ctx
The execution context to use.
a
The first value to test.
b
The second value to test.
exception
A pointer to a JSValueRef in which to store an exception, if any. Pass NULL if you do not care to store an exception.
@result
true if the two values are equal, false if they are not equal or an exception is thrown.
Implementation
final bool Function(JSContextRef ctx, JSValueRef a, JSValueRef b, Pointer<JSValueRef> exception) JSValueIsEqual =
jscLib.lookup<NativeFunction<Bool Function(JSContextRef ctx, JSValueRef a, JSValueRef b, Pointer<JSValueRef> exception)>>('JSValueIsEqual').asFunction();