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

Version Path
immosquare-cleaner-0.1.20 node_modules/graphemer/lib/GraphemerIterator.d.ts
immosquare-cleaner-0.1.19 node_modules/graphemer/lib/GraphemerIterator.d.ts
immosquare-cleaner-0.1.18 node_modules/graphemer/lib/GraphemerIterator.d.ts
immosquare-cleaner-0.1.17 node_modules/graphemer/lib/GraphemerIterator.d.ts
immosquare-cleaner-0.1.16 node_modules/graphemer/lib/GraphemerIterator.d.ts
immosquare-cleaner-0.1.14 node_modules/graphemer/lib/GraphemerIterator.d.ts
immosquare-cleaner-0.1.13 node_modules/graphemer/lib/GraphemerIterator.d.ts
immosquare-cleaner-0.1.12 node_modules/graphemer/lib/GraphemerIterator.d.ts
immosquare-cleaner-0.1.11 node_modules/graphemer/lib/GraphemerIterator.d.ts
immosquare-cleaner-0.1.10 node_modules/graphemer/lib/GraphemerIterator.d.ts
immosquare-cleaner-0.1.9 node_modules/graphemer/lib/GraphemerIterator.d.ts
immosquare-cleaner-0.1.8 node_modules/graphemer/lib/GraphemerIterator.d.ts
immosquare-cleaner-0.1.7 node_modules/graphemer/lib/GraphemerIterator.d.ts
immosquare-cleaner-0.1.6 node_modules/graphemer/lib/GraphemerIterator.d.ts
decidim-0.26.8 packages/eslint-config/node_modules/graphemer/lib/GraphemerIterator.d.ts