Files
simple-mail-cleaner/backend/node_modules/grammex/dist/utils.d.ts
2026-01-23 01:33:35 +01:00

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 };