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.52 node_modules/graphemer/lib/GraphemerIterator.d.ts
immosquare-cleaner-0.1.51 node_modules/graphemer/lib/GraphemerIterator.d.ts
immosquare-cleaner-0.1.50 node_modules/graphemer/lib/GraphemerIterator.d.ts
immosquare-cleaner-0.1.49 node_modules/graphemer/lib/GraphemerIterator.d.ts
immosquare-cleaner-0.1.48 node_modules/graphemer/lib/GraphemerIterator.d.ts
immosquare-cleaner-0.1.47 node_modules/graphemer/lib/GraphemerIterator.d.ts
immosquare-cleaner-0.1.46 node_modules/graphemer/lib/GraphemerIterator.d.ts
immosquare-cleaner-0.1.45 node_modules/graphemer/lib/GraphemerIterator.d.ts
immosquare-cleaner-0.1.32 node_modules/graphemer/lib/GraphemerIterator.d.ts
immosquare-cleaner-0.1.31 node_modules/graphemer/lib/GraphemerIterator.d.ts
immosquare-cleaner-0.1.30 node_modules/graphemer/lib/GraphemerIterator.d.ts
immosquare-cleaner-0.1.29 node_modules/graphemer/lib/GraphemerIterator.d.ts
immosquare-cleaner-0.1.28 node_modules/graphemer/lib/GraphemerIterator.d.ts
immosquare-cleaner-0.1.27 node_modules/graphemer/lib/GraphemerIterator.d.ts
immosquare-cleaner-0.1.26 node_modules/graphemer/lib/GraphemerIterator.d.ts
immosquare-cleaner-0.1.25 node_modules/graphemer/lib/GraphemerIterator.d.ts
immosquare-cleaner-0.1.24 node_modules/graphemer/lib/GraphemerIterator.d.ts
immosquare-cleaner-0.1.23 node_modules/graphemer/lib/GraphemerIterator.d.ts
immosquare-cleaner-0.1.22 node_modules/graphemer/lib/GraphemerIterator.d.ts
immosquare-cleaner-0.1.21 node_modules/graphemer/lib/GraphemerIterator.d.ts