Checks if one of two assertions passes.

If none of them passes it throws an error.

const trueish = or(literal(1), literal(true));

trueish("yassss"); // Error: literal
trueish(1); // passes
trueish(true); // passes