UNPKG

rubico

Version:

[a]synchronous functional programming

10 lines (8 loc) 559 B
/** * Rubico v2.8.3 * https://rubico.land/ * * © Richard Yufei Tong, King of Software * Rubico may be freely distributed under the CFOSS license. */ !function(n,t){"object"==typeof module?module.exports=t:"function"==typeof define?define((()=>t)):n.includes=t}("object"==typeof globalThis?globalThis:this,function(){"use strict";Array.isArray;return n=>function(t){return null!=t&&("function"==typeof t.includes?t.includes(n):t.constructor==Object&&function(n,t){for(const i in n)if(e=t,o=n[i],e===o||e!=e&&o!=o)return!0;var e,o;return!1}(t,n))}}());