UNPKG

@unclepaul/allcountjs

Version:

The open source framework for rapid business application development with Node.js

20 lines (16 loc) 402 B
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 };