Skip to content

GramIO API Reference / @gramio/contexts/dist / MaybeArray

Type Alias: MaybeArray<T> ​

MaybeArray<T> = T | T[]

Defined in: contexts/index.d.ts:242

Type helper to add array and non-array type

Type Parameters ​

Type Parameter
T