forChar static method

NumericType forChar(
  1. Rune ch
)

See the Rust documentation for for_char for more information.

Implementation

static NumericType forChar(Rune ch) {
  final result = _icu4x_NumericType_for_char_mv1(ch);
  return NumericType.values[result];
}