UNPKG

formoose

Version:

Schema-based run time validation engine, made to integrate back and front-end validations using Mongoose like schemas.

2 lines 158 B
export declare function matchEnum(fieldValue: string, enumObject: Record<string, string>, fieldName: string): boolean; //# sourceMappingURL=matchEnum.d.ts.map