hasScript method

bool hasScript(
  1. Rune ch,
  2. int script
)

Check if the Script_Extensions property of the given code point covers the given script

See the Rust documentation for has_script for more information.

Implementation

bool hasScript(Rune ch, int script) {
  final result = _icu4x_ScriptWithExtensionsBorrowed_has_script_mv1(_ffi, ch, script);
  return result;
}