variable oneOfimport { oneOf } from "https://deno.land/x/froebel@v0.21.3/equality.ts"; Checks if v is one of cmps. type<T, TT extends (T extends string ? string & T : T extends number ? number & T : any)[]>(value: T, ...cmps: TT) => value is TT[number]