JSStringIsEqual

Function JSStringIsEqual 

Source
pub unsafe extern "C-unwind" fn JSStringIsEqual(
    a: JSStringRef,
    b: JSStringRef,
) -> bool
Available on crate features JSBase and JSStringRef only.
Expand description

Tests whether two JavaScript strings match.

Parameter a: The first JSString to test.

Parameter b: The second JSString to test.

Returns: true if the two strings match, otherwise false.

ยงSafety

  • a must be a valid pointer.
  • b must be a valid pointer.