categoryFor method

PluralCategory categoryFor(
  1. PluralOperands op
)

Get the category for a given number represented as operands

See the Rust documentation for category_for for more information.

Implementation

PluralCategory categoryFor(PluralOperands op) {
  final result = _icu4x_PluralRules_category_for_mv1(_ffi, op._ffi);
  return PluralCategory.values[result];
}