summaryrefslogtreecommitdiffstats
path: root/intl/icu_capi/js/package/lib/CodePointRangeIterator.d.ts
blob: 25d3076bc8939967743b568a6ae6356d44cec9c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import { CodePointRangeIteratorResult } from "./CodePointRangeIteratorResult";

/**

 * An iterator over code point ranges, produced by `ICU4XCodePointSetData` or one of the `ICU4XCodePointMapData` types
 */
export class CodePointRangeIterator {

  /**

   * Advance the iterator by one and return the next range.

   * If the iterator is out of items, `done` will be true
   */
  next(): CodePointRangeIteratorResult;
}