rubico
Version:
[a]synchronous functional programming
9 lines (7 loc) • 560 B
JavaScript
/**
* 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(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))}}());