UNPKG

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