OutputListOps

besom.internal.OutputExtensionsFactory.OutputListOps
final implicit class OutputListOps[A](output: Output[List[A]])

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def flatMapInner[B](f: A => List[B] | Output[List[B]])(using Context): Output[List[B]]

Calls List.flatMap on the underlying List with the given function

Calls List.flatMap on the underlying List with the given function

Attributes

Returns

an Output of the flat-mapped List

Calls List.headOption on the underlying List

Calls List.headOption on the underlying List

Attributes

Returns

an Output of Option of the head of the list

Calls List.init on the underlying List, but does not fail on Nil

Calls List.init on the underlying List, but does not fail on Nil

Attributes

Returns

an Output of the init of the List or an empty list if the list is empty

Calls List.lastOption on the underlying List

Calls List.lastOption on the underlying List

Attributes

Returns

an Output of Option of the last element of the list

def mapInner[B](f: A => B | Output[B])(using Context): Output[List[B]]

Calls List.map on the underlying List with the given function

Calls List.map on the underlying List with the given function

Attributes

Returns

an Output of the mapped List

Calls List.tail on the underlying List, but does not fail on Nil

Calls List.tail on the underlying List, but does not fail on Nil

Attributes

Returns

an Output of the tail of the List or an empty list if the list is empty