levelAt method

int levelAt(
  1. int pos
)

Get the BIDI level at a particular byte index in this paragraph. This integer is conceptually a unicode_bidi::Level, and can be further inspected using the static methods on Bidi.

Returns 0 (equivalent to Level::ltr()) on error

See the Rust documentation for level_at for more information.

Implementation

int levelAt(int pos) {
  final result = _icu4x_BidiParagraph_level_at_mv1(_ffi, pos);
  return result;
}