Home > utils > EnumResult
Signature:
export declare type EnumResult<T extends EnumMap> = T & InvertResult<T> & {
$list: List<T>;
$buildList: (keys: Array<keyof T> | Record<keyof T, any>) => List<T>;
$is(value: any, keys: OneOrMore<LiteralUnion<keyof T, ValueOf<T>>>): boolean;
};
References: EnumMap