UNPKG

mappingutils

Version:

Lightweight JSON transformation utility.

9 lines (8 loc) 365 B
/** * @returns true if the specified mapping object is valid against the grammar * @throws { Error } * This exeception is thrown if the input is not a valid mapping against the grammar */ export declare function parse(mapping: object): boolean; export declare function isStrPath(str: unknown): boolean; export declare function isArrPath(arr: unknown): boolean;