json-function
Version:
It allows you to use methods such as where, limit, select, orderBy on JSON data.
15 lines (14 loc) • 776 B
TypeScript
declare type TypeCheckFunction = (value: any) => boolean;
declare type OneOfCheckFunction = (value: any, options: any[]) => boolean;
declare const isDefined: TypeCheckFunction;
declare const isNumber: TypeCheckFunction;
declare const isNull: TypeCheckFunction;
declare const isString: TypeCheckFunction;
declare const isFunction: TypeCheckFunction;
declare const isArray: TypeCheckFunction;
declare const isArrayOfString: TypeCheckFunction;
declare const isArrayOfObject: TypeCheckFunction;
declare const isObject: TypeCheckFunction;
declare const isOneOf: OneOfCheckFunction;
declare const isSchemeToolsObject: TypeCheckFunction;
export { isOneOf, isArray, isString, isNumber, isNull, isObject, isDefined, isFunction, isArrayOfString, isArrayOfObject, isSchemeToolsObject };