UNPKG

nowjs-core

Version:

NowCanDo Javascript Core [nowjs-core] is a library written by TypeScript code maintains under Apache 2.0 licence

20 lines (19 loc) 456 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); function negate(p) { return function () { return !p.apply(this, arguments); }; } exports.negate = negate; function union(p, ...rest) { if (rest.length > 0) { return function () { return p.apply(this, arguments) || union.apply(this, rest).apply(this, arguments); }; } else { return p; } } exports.union = union;