UNPKG

rubico

Version:

[a]synchronous functional programming

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