@okcontract/sdk
Version:
One-stop-shop permissionless SDK for building any blockchain frontend
7 lines (6 loc) • 442 B
TypeScript
import type { AbiType, SolidityArrayWithTuple, SolidityTuple } from "abitype";
export declare const fixedArrayRegexp: RegExp;
export declare const isArray: (type: string) => type is `${AbiType}[]`;
export declare const isFixedArray: (type: string) => type is `${AbiType}[${number}]`;
export declare const isTuple: (type: string) => type is SolidityTuple;
export declare const isArrayOfTuple: (type: string) => type is SolidityArrayWithTuple;