All files / src/core maybe.ts

100% Statements 6/6
100% Branches 0/0
100% Functions 1/1
100% Lines 6/6
1 2 3 4 5 6 7 8  15x 15x 15x 15x   31x  
import { or } from  './regex' ;
import isNull from '../preds/isNull';
import isUndefined from '../preds/isUndefined';
 
export default function maybe( clause ) {
  return or( isNull, isUndefined, clause );
}