Arrayable
@guoba-ai/utils / types / Arrayable
Type Alias: Arrayable<T>
type Arrayable<T> = T | T[];Defined in: types.ts:9
A value that can be either a single item or an array of items.
Example
type Input = Arrayable<string> // string | string[]@guoba-ai/utils / types / Arrayable
type Arrayable<T> = T | T[];Defined in: types.ts:9
A value that can be either a single item or an array of items.
type Input = Arrayable<string> // string | string[]