All files / src/core any.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 9 10 11 12 13 14 15  15x 15x 15x 15x   6x               15x
import Clause from "../models/Clause";
import identity from "../utils/identity";
 
const CLAUSE_TYPE_ANY = 'ANY';
 
export default function any() {
  return new Clause( {
    type: CLAUSE_TYPE_ANY,
    exprs: [],
    opts: {},
    conformFn: identity,
    generateFn: null,
  } );
}