fold method

String fold(
  1. String s
)

Case-folds the characters in the given string

See the Rust documentation for fold for more information.

Implementation

String fold(String s) {
  final temp = _FinalizedArena();
  final write = _Write();
  _icu4x_CaseMapper_fold_mv1(_ffi, s._utf8AllocIn(temp.arena), write._ffi);
  return write.finalize();
}