Softanza
StartFrançais
Softanza
The library documents itself · Collections & objects

stzYielder

38 own methods · 4 forms written with extensions, listed under their method

the source: base/list/stzYielder.ring(opens in a new tab) · All classes · The area reference: Collections & objects

Under each method, its extensions (Q CS XT Z ZZ IB W U): bold and ticked, it exists; struck, it does not. The extensions and what they mean

Examples: 3 come from the library's tests; 20 were composed from each method's signature and run for this page, on a fresh object, for example o1 = new stzYielder(["hello", "WORLD", " mixed "]). 15 methods have none yet. Examples run on 2026-10-03 12:54 inside the library at commit 0e72e2e2c.

Method
Explanation, as the source carries it
init
(no comment in the source: the name reads as a sentence) initno extension
Content
(no comment in the source: the name reads as a sentence) contentno extension
SetContent
(no comment in the source: the name reads as a sentence) set content
composed example
o1 = new stzYielder(["hello", "WORLD", "  mixed  "])
o1.SetContent([ 2, 3 ])
? @@( o1.Content() )
#--> [ 2, 3 ]
composed from the signature, run for this page
no extension
NumberOfItems
(no comment in the source: the name reads as a sentence) number of items
composed example
o1 = new stzYielder(["hello", "WORLD", "  mixed  "])
? o1.NumberOfItems()
#--> 3
composed from the signature, run for this page
no extension
map 1 examples run
oY = new stzYielder([ 12, 0, 30, -5, 18 ])
? @@( oY.Filter(:IsPositive) )
? @@( oY.Map(:Double) )
? oY.Reduce(:Sum)
#--> [ 12, 30, 18 ]
#--> [ 24, 0, 60, -10, 36 ]
#--> 55
library testQCSXTZZZIBWU
MapIndexed
mapQCSXTZZZIBWU
filter 1 examples run
oY = new stzYielder([ 12, 0, 30, -5, 18 ])
? @@( oY.Filter(:IsPositive) )
? @@( oY.Map(:Double) )
? oY.Reduce(:Sum)
#--> [ 12, 30, 18 ]
#--> [ 24, 0, 60, -10, 36 ]
#--> 55
library testQCSXTZZZIBWU
reduce 1 examples run
oY = new stzYielder([ 12, 0, 30, -5, 18 ])
? @@( oY.Filter(:IsPositive) )
? @@( oY.Map(:Double) )
? oY.Reduce(:Sum)
#--> [ 12, 30, 18 ]
#--> [ 24, 0, 60, -10, 36 ]
#--> 55
library testno extension
ReduceConcat
reducealso written: Concat
composed example
o1 = new stzYielder(["hello", "WORLD", "  mixed  "])
? o1.ReduceConcat(" ")
#--> hello WORLD   mixed
composed from the signature, run for this page
no extension
MapFiltered
filter + mapQCSXTZZZIBWU
CountWhere
count where
composed example
o1 = new stzYielder(["hello", "WORLD", "  mixed  "])
? o1.CountWhere("a")
#--> 0
composed from the signature, run for this page
no extension
Abs
Map shortcutsno extension
Negate
(no comment in the source: the name reads as a sentence) negatein the section convenience namesno extension
DoubleValues
(no comment in the source: the name reads as a sentence) double valuesin the section convenience namesno extension
Square
(no comment in the source: the name reads as a sentence) squarein the section convenience namesno extension
TypeNames
(no comment in the source: the name reads as a sentence) type namesin the section convenience names
composed example
o1 = new stzYielder(["hello", "WORLD", "  mixed  "])
? @@( o1.TypeNames() )
#--> [ "string", "string", "string" ]
composed from the signature, run for this page
no extension
StringLengths
(no comment in the source: the name reads as a sentence) string lengthsin the section convenience names
composed example
o1 = new stzYielder(["hello", "WORLD", "  mixed  "])
? @@( o1.StringLengths() )
#--> [ 5, 5, 9 ]
composed from the signature, run for this page
no extension
Uppercase
(no comment in the source: the name reads as a sentence) uppercasein the section convenience names
composed example
o1 = new stzYielder(["hello", "WORLD", "  mixed  "])
? @@( o1.Uppercase() )
#--> [ "HELLO", "WORLD", "  MIXED  " ]
composed from the signature, run for this page
no extension
Lowercase
(no comment in the source: the name reads as a sentence) lowercasein the section convenience names
composed example
o1 = new stzYielder(["hello", "WORLD", "  mixed  "])
? @@( o1.Lowercase() )
#--> [ "hello", "world", "  mixed  " ]
composed from the signature, run for this page
no extension
Trimmed
(no comment in the source: the name reads as a sentence) trimmedin the section convenience names
composed example
o1 = new stzYielder(["hello", "WORLD", "  mixed  "])
? @@( o1.Trimmed() )
#--> [ "hello", "WORLD", "mixed" ]
composed from the signature, run for this page
no extension
Reversed
(no comment in the source: the name reads as a sentence) reversedin the section convenience names
composed example
o1 = new stzYielder(["hello", "WORLD", "  mixed  "])
? @@( o1.Reversed() )
#--> [ "olleh", "DLROW", "  dexim  " ]
composed from the signature, run for this page
no extension
Signs
(no comment in the source: the name reads as a sentence) signsin the section convenience names
composed example
o1 = new stzYielder(["hello", "WORLD", "  mixed  "])
? @@( o1.Signs() )
#--> [ 0, 0, 0 ]
composed from the signature, run for this page
no extension
Strings
Filter shortcutsno extension
Numbers
(no comment in the source: the name reads as a sentence) numbersin the section convenience namesno extension
Positives
(no comment in the source: the name reads as a sentence) positivesin the section convenience namesno extension
Negatives
(no comment in the source: the name reads as a sentence) negativesin the section convenience namesno extension
Evens
(no comment in the source: the name reads as a sentence) evensin the section convenience namesno extension
Odds
(no comment in the source: the name reads as a sentence) oddsin the section convenience namesno extension
NonEmpty
(no comment in the source: the name reads as a sentence) non emptyin the section convenience namesno extension
Sum
Reduce shortcuts
composed example
o1 = new stzYielder(["hello", "WORLD", "  mixed  "])
? o1.Sum()
#--> 0
composed from the signature, run for this page
no extension
Product
(no comment in the source: the name reads as a sentence) productin the section convenience names
composed example
o1 = new stzYielder(["hello", "WORLD", "  mixed  "])
? o1.Product()
#--> 1
composed from the signature, run for this page
no extension
MinValue
(no comment in the source: the name reads as a sentence) min valuein the section convenience names
composed example
o1 = new stzYielder(["hello", "WORLD", "  mixed  "])
? o1.MinValue()
#--> 0
composed from the signature, run for this page
no extension
MaxValue
(no comment in the source: the name reads as a sentence) max valuein the section convenience names
composed example
o1 = new stzYielder(["hello", "WORLD", "  mixed  "])
? o1.MaxValue()
#--> 0
composed from the signature, run for this page
no extension
CountItems
(no comment in the source: the name reads as a sentence) count itemsin the section convenience names
composed example
o1 = new stzYielder(["hello", "WORLD", "  mixed  "])
? o1.CountItems()
#--> 3
composed from the signature, run for this page
no extension
CountStrings
(no comment in the source: the name reads as a sentence) count stringsin the section convenience names
composed example
o1 = new stzYielder(["hello", "WORLD", "  mixed  "])
? o1.CountStrings()
#--> 3
composed from the signature, run for this page
no extension
CountNumbers
(no comment in the source: the name reads as a sentence) count numbersin the section convenience names
composed example
o1 = new stzYielder(["hello", "WORLD", "  mixed  "])
? o1.CountNumbers()
#--> 0
composed from the signature, run for this page
no extension
AnyTrue
(no comment in the source: the name reads as a sentence) any truein the section convenience names
composed example
o1 = new stzYielder(["hello", "WORLD", "  mixed  "])
? o1.AnyTrue()
#--> 0
composed from the signature, run for this page
no extension
AllTrue
(no comment in the source: the name reads as a sentence) all truein the section convenience names
composed example
o1 = new stzYielder(["hello", "WORLD", "  mixed  "])
? o1.AllTrue()
#--> 0
composed from the signature, run for this page
no extension