check-ethereum-scanner
Version:
Safety checks for new Ethereum tokens
16 lines (14 loc) • 337 B
TypeScript
type TypedArrayName =
| 'Int8Array'
| 'Uint8Array'
| 'Uint8ClampedArray'
| 'Int16Array'
| 'Uint16Array'
| 'Int32Array'
| 'Uint32Array'
| 'Float32Array'
| 'Float64Array'
| 'BigInt64Array'
| 'BigUint64Array';
declare function whichTypedArray(value: unknown): TypedArrayName | false | null;
export = whichTypedArray;