UNPKG

object-boolean-combinations

Version:

Consumes a defaults object with booleans, generates all possible variations of it

10 lines (7 loc) 243 B
import { Obj } from "codsen-utils"; declare const version: string; interface BoolObj { [key: string]: boolean; } declare function combinations(input: Obj, Override?: undefined | Obj): Obj[]; export { type BoolObj, combinations, version };