Sha256: 6592f8a37f5a71464213c95e16d99bd33f83bb4066dc8597e840fbba4e8470a6

Contents?: true

Size: 383 Bytes

Versions: 41

Compression:

Stored size: 383 Bytes

Contents

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

        for (var 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

41 entries across 40 versions & 9 rubygems

Version Path
date_picker-0.0.9 test/dummy/vendor/assets/components/moment/src/lib/utils/some.js