UNPKG

rubico

Version:

[a]synchronous functional programming

10 lines (8 loc) 538 B
/** * Rubico v2.8.2 * https://rubico.land/ * * © Richard Yufei Tong, King of Software * Rubico may be freely distributed under the CFOSS 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))}());