Sha256: 12d843cd781a162fe691c4ec7fecb615e7314833d857300f0221cf7738373835
Contents?: true
Size: 610 Bytes
Versions: 35
Compression:
Stored size: 610 Bytes
Contents
/** * GraphemerIterator * * Takes a string and a "BreakHandler" method during initialisation * and creates an iterable object that returns individual graphemes. * * @param str {string} * @return GraphemerIterator */ declare class GraphemerIterator implements Iterator<string> { private _index; private _str; private _nextBreak; constructor(str: string, nextBreak: (str: string, index: number) => number); [Symbol.iterator](): this; next(): { value: string; done: boolean; }; } export default GraphemerIterator; //# sourceMappingURL=GraphemerIterator.d.ts.map
Version data entries
35 entries across 35 versions & 2 rubygems