rubico
Version:
[a]synchronous functional programming
10 lines (8 loc) • 578 B
JavaScript
/**
* Rubico v2.8.2
* 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;const n=function(n,t){return n===t||n!=n&&t!=t};return t=>function(e){return null!=e&&("function"==typeof e.includes?e.includes(t):e.constructor==Object&&function(t,e){for(const o in t)if(n(e,t[o]))return!0;return!1}(e,t))}}());