File "some.js"

Full Path: /home/cananyalcin/public_html/vendors/moment/src/lib/utils/some.js
File size: 383 bytes
MIME-type: text/plain
Charset: utf-8

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 };