File size: 194 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
const noop = () => {};

const and =
	( ...conditions ) =>
	() =>
		conditions.every( ( cond ) => cond() );

const not =
	( fn ) =>
	( ...args ) =>
		! fn( ...args );

export { and, not, noop };