Debian Codegraph @

intl/icu_capi/bindings/js/CodePointRangeIteratorResult.d.ts

raw
1 import { u32 } from "./diplomat-runtime"
2
3 /**
4
5 * Result of a single iteration of {@link CodePointRangeIterator `CodePointRangeIterator`}. Logically can be considered to be an `Option<RangeInclusive<u32>>`,
6
7 * `start` and `end` represent an inclusive range of code points start, end, and `done` will be true if the iterator has already finished. The last contentful iteration will NOT produce a range done=true, in other words `start` and `end` are useful values if and only if `done=false`.
8 */
9 export class CodePointRangeIteratorResult {
10 start: u32;
11 end: u32;
12 done: boolean;
13 }