14 lines
961 B
TypeScript
14 lines
961 B
TypeScript
declare const isArray: (value: unknown) => value is unknown[];
|
|
declare const isFunction: (value: unknown) => value is Function;
|
|
declare const isFunctionNullary: (value: Function) => value is (() => unknown);
|
|
declare const isFunctionStrictlyNullaryOrUnary: (value: Function) => boolean;
|
|
declare const isNumber: (value: unknown) => value is number;
|
|
declare const isObject: (value: unknown) => value is object;
|
|
declare const isRegExp: (value: unknown) => value is RegExp;
|
|
declare const isRegExpCapturing: (re: RegExp) => boolean;
|
|
declare const isRegExpStatic: (re: RegExp) => boolean;
|
|
declare const isString: (value: unknown) => value is string;
|
|
declare const isUndefined: (value: unknown) => value is undefined;
|
|
declare const memoize: <T, U>(fn: (arg: T) => U) => ((arg: T) => U);
|
|
export { isArray, isFunction, isFunctionNullary, isFunctionStrictlyNullaryOrUnary, isNumber, isObject, isRegExp, isRegExpCapturing, isRegExpStatic, isString, isUndefined, memoize };
|