UNPKG

rubico

Version:

[a]synchronous functional programming

9 lines (7 loc) 541 B
/** * rubico v2.6.2 * https://github.com/a-synchronous/rubico * (c) 2019-2024 Richard Tong * rubico may be freely distributed under the MIT license. */ !function(e,t){"object"==typeof module?module.exports=t:"function"==typeof define?define((()=>t)):e.isEmpty=t}("object"==typeof globalThis?globalThis:this,function(){"use strict";return e=>"string"==typeof e?0==e.length:null==e||("number"==typeof e.length?0==e.length:"number"==typeof e.size?0==e.size:e.constructor==Object&&0==(e=>{let t=0;for(const n in e)t+=1;return t})(e))}());