Skip to content
Alchemy Logo

IsUndefined | @aa-sdk/core

type IsUndefined<T> = [undefined] extends [T] ? true : false;

Defined in: aa-sdk/core/src/utils/types.ts:21

Checks if T is undefined

type Result = IsUndefined<undefined>;
//   ^? type Result = true

Type ParameterDescription

T

Type to check

Was this page helpful?