1.0.2 • Published 8 years ago
higher-order-logical-operators v1.0.2
Higher Order Logical Operators
Package provides higher order functions allowing for combination of lower order boolean functions using logical operators: and, not, or, xor.
In order to provide xor the Javascript Array object prototype is extended with the one
function.
## Contents
Usage
and
, not
, or
and xor
are named exports in index.js
file for this module. They can therefore be imported for use individually as follows:
- ES5
var <function_name> = require('higher-order-logical-operators').<function_name>
- ES6
import { <function_name> } from 'higher-order-logical-operators'