Skip to content
On this page

Type alias: IsTypedData<TTypedData>

IsTypedData: <TTypedData> TTypedData extends TypedData ? { [K in keyof TTypedData]: { [K2 in TTypedData[K][number] as K2["type"] extends keyof TTypedData ? never : K2["type"] extends `${keyof TTypedData & string}[${string}]` ? never : K2["type"] extends TypedDataType ? never : K2["name"]]: false } } extends { [K in keyof TTypedData]: Record<string, never> } ? true : false : false

Checks if type is TypedData.

Type parameters

ParameterDescription
TTypedDataTypedData to check

Defined In

node_modules/.pnpm/abitype@0.7.1_typescript@4.9.5/node_modules/abitype/dist/index.d.ts:231


Generated using TypeDoc and typedoc-plugin-markdown