Tuple0 extension
Extension methods on Record with 0 positional elements.
- on
-
- ()
Properties
Methods
-
addFirst<
T> (T value) → (T) -
Returns a new tuple with
value
added at the first position. -
addLast<
T> (T value) → (T) -
Returns a new tuple with
value
added at the last position. -
map<
R> (R callback()) → R - Applies the values of this tuple to an 0-ary function.
-
toList(
) → List - An (untyped) List with the values of this tuple.
-
toSet(
) → Set - An (untyped) Set with the unique values of this tuple.