All files / src/core undefinable.ts

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