Array Stream
The ArrayStream
is a Stream
that provides array-related methods.
pick()
Returns a Stream
that picks an item from the produced output.
join()
Returns a StringStream
that merges the produced output.
Parameter
Type
Default
Description
seperator
String
''
separator
sample()
Returns an ArrayStream
that samples the produced output.
Parameter
Type
Default
Description
size
Integer
3
sample size
sort()
Returns an ArrayStream
that sorts the produced output.
Parameter
Type
Default
Description
fn
Function
sort function
map()
Returns an ArrayStream
that maps the produced output.
Parameter
Type
Default
Description
fn
Function
map function
filter()
Returns an ArrayStream
that filters the produced output.
Parameter
Type
Default
Description
fn
Function
filter function
Last updated