UNPKG

object-boolean-combinations

Version:

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

11 lines (8 loc) 254 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 { combinations, version }; export type { BoolObj };