Nonviolent Pigeon Manifestation

    @extra-regexp/is
    TypeScript icon, indicating that this package has built-in type declarations

    0.0.26 • Public • Published

    Produces accumulating values. [🏃] [📼] [📦] [🌔] [📒]

    Similar: [map], [filter], [reduce], [accumulate].
    This is part of package extra-regexp.

    iterable.accumulate(x, fn, [acc]);
    // x:   an iterable
    // fn:  reduce function (acc, v, i, x)
    // acc: initial value
    const regexp = require('extra-regexp');
    
    regexp.is(/[A-Z]/);
    // true
    
    regexp.is(0);
    // false

    references

    Install

    npm i @extra-regexp/is

    DownloadsWeekly Downloads

    2

    Version

    0.0.26

    License

    MIT

    Unpacked Size

    2.53 kB

    Total Files

    9

    Last publish

    Collaborators

    • avatar