deno.land / x / rambda@v9.1.1 / source / is.js

نووسراو ببینە
1
2
3
4
5
6
7
8
9
export function is(targetPrototype, x){ if (arguments.length === 1) return _x => is(targetPrototype, _x)
return ( x != null && x.constructor === targetPrototype || x instanceof targetPrototype )}
rambda

Version Info

Tagged at
2 months ago