Function

JSStringIsEqualToUTF8CString(_:_:)

Tests whether a JavaScript string matches a null-terminated UTF8 string.

Declaration

func JSStringIsEqualToUTF8CString(_ a: JSStringRef!, _ b: UnsafePointer<Int8>!) -> Bool

Parameters

a

The JSString to test.

b

The null-terminated UTF8 string to test.

Return Value

true if the two strings match, otherwise false.