Sha256: a0f14d7eb6f26ca1be2024b191feb2f9b552a33f7571043d8cb7a403c0bbea20

Contents?: true

Size: 394 Bytes

Versions: 19

Compression:

Stored size: 394 Bytes

Contents

var some;
if (Array.prototype.some) {
    some = Array.prototype.some;
} else {
    some = function (fun) {
        var t = Object(this),
            len = t.length >>> 0,
            i;

        for (i = 0; i < len; i++) {
            if (i in t && fun.call(this, t[i], i, t)) {
                return true;
            }
        }

        return false;
    };
}

export { some as default };

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
card-mod-date-0.15.6 vendor/moment/src/lib/utils/some.js
card-mod-date-0.15.0 vendor/moment/src/lib/utils/some.js
card-mod-date-0.14.2 vendor/moment/src/lib/utils/some.js
card-mod-date-0.14.1 vendor/moment/src/lib/utils/some.js
card-mod-date-0.14.0 vendor/moment/src/lib/utils/some.js
card-mod-date-0.13.4 vendor/moment/src/lib/utils/some.js
card-mod-date-0.13.3 vendor/moment/src/lib/utils/some.js
card-mod-date-0.13.2 vendor/moment/src/lib/utils/some.js
card-mod-date-0.13.1 vendor/moment/src/lib/utils/some.js
card-mod-date-0.13.0 vendor/moment/src/lib/utils/some.js
card-mod-date-0.11.7 vendor/moment/src/lib/utils/some.js
card-mod-date-0.12.0 vendor/moment/src/lib/utils/some.js
card-mod-date-0.11.6 vendor/moment/src/lib/utils/some.js
card-mod-date-0.11.5 vendor/moment/src/lib/utils/some.js
card-mod-date-0.11.4 vendor/moment/src/lib/utils/some.js
card-mod-date-0.11.3 vendor/moment/src/lib/utils/some.js
card-mod-date-0.11.2 vendor/moment/src/lib/utils/some.js
card-mod-date-0.11.1 vendor/moment/src/lib/utils/some.js
card-mod-date-0.11.0 vendor/moment/src/lib/utils/some.js