1 | declare module 'util/types' {
|
2 | function isAnyArrayBuffer(object: any): object is ArrayBufferLike;
|
3 | function isArgumentsObject(object: any): object is IArguments;
|
4 | function isArrayBuffer(object: any): object is ArrayBuffer;
|
5 | function isArrayBufferView(object: any): object is NodeJS.ArrayBufferView;
|
6 | function isAsyncFunction(object: any): boolean;
|
7 | function isBigInt64Array(value: any): value is BigInt64Array;
|
8 | function isBigUint64Array(value: any): value is BigUint64Array;
|
9 | function isBooleanObject(object: any): object is Boolean;
|
10 | function isBoxedPrimitive(object: any): object is String | Number | BigInt | Boolean | Symbol;
|
11 | function isDataView(object: any): object is DataView;
|
12 | function isDate(object: any): object is Date;
|
13 | function isExternal(object: any): boolean;
|
14 | function isFloat32Array(object: any): object is Float32Array;
|
15 | function isFloat64Array(object: any): object is Float64Array;
|
16 | function isGeneratorFunction(object: any): object is GeneratorFunction;
|
17 | function isGeneratorObject(object: any): object is Generator;
|
18 | function isInt8Array(object: any): object is Int8Array;
|
19 | function isInt16Array(object: any): object is Int16Array;
|
20 | function isInt32Array(object: any): object is Int32Array;
|
21 | function isMap<T>(
|
22 | object: T | {},
|
23 | ): object is T extends ReadonlyMap<any, any>
|
24 | ? unknown extends T
|
25 | ? never
|
26 | : ReadonlyMap<any, any>
|
27 | : Map<any, any>;
|
28 | function isMapIterator(object: any): boolean;
|
29 | function isModuleNamespaceObject(value: any): boolean;
|
30 | function isNativeError(object: any): object is Error;
|
31 | function isNumberObject(object: any): object is Number;
|
32 | function isPromise(object: any): object is Promise<any>;
|
33 | function isProxy(object: any): boolean;
|
34 | function isRegExp(object: any): object is RegExp;
|
35 | function isSet<T>(
|
36 | object: T | {},
|
37 | ): object is T extends ReadonlySet<any>
|
38 | ? unknown extends T
|
39 | ? never
|
40 | : ReadonlySet<any>
|
41 | : Set<any>;
|
42 | function isSetIterator(object: any): boolean;
|
43 | function isSharedArrayBuffer(object: any): object is SharedArrayBuffer;
|
44 | function isStringObject(object: any): object is String;
|
45 | function isSymbolObject(object: any): object is Symbol;
|
46 | function isTypedArray(object: any): object is NodeJS.TypedArray;
|
47 | function isUint8Array(object: any): object is Uint8Array;
|
48 | function isUint8ClampedArray(object: any): object is Uint8ClampedArray;
|
49 | function isUint16Array(object: any): object is Uint16Array;
|
50 | function isUint32Array(object: any): object is Uint32Array;
|
51 | function isWeakMap(object: any): object is WeakMap<any, any>;
|
52 | function isWeakSet(object: any): object is WeakSet<any>;
|
53 | }
|