1 | import {
|
2 | complement,
|
3 | compose,
|
4 | and,
|
5 | or,
|
6 | both,
|
7 | either,
|
8 | allPass,
|
9 | anyPass,
|
10 | } from 'ramda';
|
11 |
|
12 | export const nand = complement(and);
|
13 | export const nor = complement(or);
|
14 | export const notBoth = compose(complement, both);
|
15 | export const neither = compose(complement, either);
|
16 | export const notAllPass = compose(complement, allPass);
|
17 | export const nonePass = compose(complement, anyPass);
|