• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1declare function InternalBinding(binding: 'types'): {
2  isAsyncFunction(value: unknown): value is (...args: unknown[]) => Promise<unknown>;
3  isGeneratorFunction(value: unknown): value is GeneratorFunction;
4  isAnyArrayBuffer(value: unknown): value is (ArrayBuffer | SharedArrayBuffer);
5  isArrayBuffer(value: unknown): value is ArrayBuffer;
6  isArgumentsObject(value: unknown): value is ArrayLike<unknown>;
7  isBoxedPrimitive(value: unknown): value is (BigInt | Boolean | Number | String | Symbol);
8  isDataView(value: unknown): value is DataView;
9  isExternal(value: unknown): value is Object;
10  isMap(value: unknown): value is Map<unknown, unknown>;
11  isMapIterator: (value: unknown) => value is IterableIterator<unknown>;
12  isModuleNamespaceObject: (value: unknown) => value is { [Symbol.toStringTag]: 'Module' };
13  isNativeError: (value: unknown) => Error;
14  isPromise: (value: unknown) => value is Promise<unknown>;
15  isSet: (value: unknown) => value is Set<unknown>;
16  isSetIterator: (value: unknown) => value is IterableIterator<unknown>;
17  isWeakMap: (value: unknown) => value is WeakMap<object, unknown>;
18  isWeakSet: (value: unknown) => value is WeakSet<object>;
19  isRegExp: (value: unknown) => RegExp;
20  isDate: (value: unknown) => Date;
21  isTypedArray: (value: unknown) => value is TypedArray;
22  isStringObject: (value: unknown) => value is String;
23  isNumberObject: (value: unknown) => value is Number;
24  isBooleanObject: (value: unknown) => value is Boolean,
25  isBigIntObject: (value: unknown) => value is BigInt;
26};
27