exports.d.mts 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. import { C as Class, P as PlainObject, a as Primitive } from './types-ANR2ETqw.mjs';
  2. declare const isArray: (arg: any) => arg is any[];
  3. declare const isArrayOf: (target: unknown[], predicate: (v: unknown) => boolean) => boolean;
  4. declare const isAsyncGeneratorFunction: (value: unknown) => value is (...arguments_: any[]) => Promise<unknown>;
  5. declare const isAsyncFunction: (value: unknown) => value is Function;
  6. declare const isBigInt: (value: unknown) => value is bigint;
  7. declare const isBoolean: (value: unknown) => value is boolean;
  8. declare const isDate: (value: unknown) => value is Date;
  9. declare const isDefined: (value: unknown) => boolean;
  10. declare const isDomElement: (value: unknown) => value is HTMLElement;
  11. declare const isEmpty: (value: unknown) => boolean;
  12. declare const isError: (value: unknown) => value is Error;
  13. declare const isFunction: (value: unknown) => value is Function;
  14. declare const isGenerator: (value: unknown) => value is Generator<unknown, any, unknown>;
  15. declare const isGeneratorFunction: (value: unknown) => value is GeneratorFunction;
  16. declare const isInstanceOf: <T>(instance: unknown, class_: Class<T>) => instance is T;
  17. declare const isIterable: (value: unknown) => value is IterableIterator<unknown>;
  18. declare const isMap: (value: unknown) => value is Map<unknown, unknown>;
  19. declare const isNan: (value: unknown) => boolean;
  20. declare const isNull: (value: unknown) => value is null;
  21. declare const isNullOrUndefined: (value: unknown) => value is null | undefined;
  22. declare const isNumber: (value: unknown) => value is number;
  23. declare const isNumericString: (value: unknown) => value is string;
  24. declare const isObject: (value: unknown) => value is object;
  25. declare const isOneOf: (target: unknown[], value: any) => boolean;
  26. declare const isPlainFunction: (value: unknown) => value is Function;
  27. declare const isPlainObject: (value: unknown) => value is PlainObject;
  28. declare const isPrimitive: (value: unknown) => value is Primitive;
  29. declare const isPromise: (value: unknown) => value is Promise<unknown>;
  30. declare const isPropertyOf: (target: PlainObject, key: string, predicate?: ((v: unknown) => boolean) | undefined) => boolean;
  31. declare const isRegexp: (value: unknown) => value is RegExp;
  32. declare const isSet: (value: unknown) => value is Set<PlainObject>;
  33. declare const isString: (value: unknown) => value is string;
  34. declare const isSymbol: (value: unknown) => value is symbol;
  35. declare const isUndefined: (value: unknown) => value is undefined;
  36. declare const isWeakMap: (value: unknown) => value is WeakMap<PlainObject, unknown>;
  37. declare const isWeakSet: (value: unknown) => value is WeakSet<PlainObject>;
  38. export { isArray, isArrayOf, isAsyncFunction, isAsyncGeneratorFunction, isBigInt, isBoolean, isDate, isDefined, isDomElement, isEmpty, isError, isFunction, isGenerator, isGeneratorFunction, isInstanceOf, isIterable, isMap, isNan, isNull, isNullOrUndefined, isNumber, isNumericString, isObject, isOneOf, isPlainFunction, isPlainObject, isPrimitive, isPromise, isPropertyOf, isRegexp, isSet, isString, isSymbol, isUndefined, isWeakMap, isWeakSet };