UNPKG

swagger-object-validator

Version:

Validate your objects against a swagger spec and receive in-depth error traces

9 lines (8 loc) 425 B
declare type IPrimitive = boolean | undefined | null | number | Number | string; interface IJSON { [key: string]: IComparable; } declare type IComparable = IPrimitive | IJSON | Array<IComparable>; export declare function deepEqual(x: IComparable, y: IComparable, xParents?: Array<IComparable>, yParents?: Array<IComparable>): boolean; export declare function hasDuplicates(items: Array<IComparable>): boolean; export {};