UNPKG

rubico

Version:

[a]synchronous functional programming

9 lines (7 loc) 474 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(t,n){"object"==typeof module?module.exports=n:"function"==typeof define?define((()=>n)):t.has=n}("object"==typeof globalThis?globalThis:this,function(){"use strict";return t=>function(n){return null!=n&&("function"==typeof n.has?n.has(t):n.constructor==Object&&function(t,n){return null!=t[n]}(n,t))}}());