UNPKG

chkutils

Version:

package for type checking and various utilities

11 lines (10 loc) 422 B
export interface Options { recursive: boolean; recursiveInArray?: boolean; keepTypesOnRecursion?: any[]; } export declare const DefaultOption: Options; export declare const validateOptions: (opt?: Options) => Options; export declare const isValidObject: (obj: any) => boolean; export declare const isArrayObject: (obj: any) => boolean; export declare const belongToTypes: (obj: any, types?: any[]) => boolean;