jSStringIsEqual top-level property

int Function(Pointer<NativeType> a, Pointer<NativeType> b) jSStringIsEqual
final

Tests whether two JavaScript strings match. a (JSStringRef) The first JSString to test. b (JSStringRef) The second JSString to test. @result (bool) true if the two strings match, otherwise false.

Implementation

final int Function(Pointer a, Pointer b) jSStringIsEqual = jscLib
    .lookup<NativeFunction<Uint8 Function(Pointer, Pointer)>>('JSStringIsEqual')
    .asFunction();