x/rambda/src/is.js
123456789export function is(targetPrototype, x) { if (arguments.length === 1) return _x => is(targetPrototype, _x) return ( (x != null && x.constructor === targetPrototype) || x instanceof targetPrototype )}