IterableOr<T>: T | Iterable<T>

Represents a type that can either be a single value of type T or an iterable containing values of type T.

Type Parameters

  • T

    The type of elements in the iterable.