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

stzListFlattener

35 own methods · 6 forms written with extensions, listed under their method

the source: base/list/stzListFlattener.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: 0 come from the library's tests; 18 were composed from each method's signature and run for this page, on a fresh object, for example o1 = new stzListFlattener([[[[1]], [[2, 3]]], [[[4]]]]). 17 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
initializationno extension
Content
(no comment in the source: the name reads as a sentence) contentin the section content accessno extension
NumberOfItems
(no comment in the source: the name reads as a sentence) number of itemsin the section content access
composed example
o1 = new stzListFlattener([[[[1]], [[2, 3]]], [[[4]]]])
? o1.NumberOfItems()
#--> 2
composed from the signature, run for this page
no extension
IsEmpty
(no comment in the source: the name reads as a sentence) is emptyin the section content access
composed example
o1 = new stzListFlattener([[[[1]], [[2, 3]]], [[[4]]]])
? o1.IsEmpty()
#--> 0
composed from the signature, run for this page
no extension
Copy
(no comment in the source: the name reads as a sentence) copyin the section content accessno extension
Update
(no comment in the source: the name reads as a sentence) updatein the section content access
composed example
o1 = new stzListFlattener([[[[1]], [[2, 3]]], [[[4]]]])
o1.Update([ 2, 3 ])
? @@( o1.Content() )
#--> [ 2, 3 ]
composed from the signature, run for this page
no extension
UpdateWith
(no comment in the source: the name reads as a sentence) update within the section content access
composed example
o1 = new stzListFlattener([[[[1]], [[2, 3]]], [[[4]]]])
o1.UpdateWith([ 2, 3 ])
? @@( o1.Content() )
#--> [ 2, 3 ]
composed from the signature, run for this page
no extension
List
(no comment in the source: the name reads as a sentence) listin the section content accessno extension
ToSet
(no comment in the source: the name reads as a sentence) to setin the section content accessno extension
Flatten
flattening the list
composed example
o1 = new stzListFlattener([[[[1]], [[2, 3]]], [[[4]]]])
o1.Flatten()
? @@( o1.Content() )
#--> [ 1, 2, 3, 4 ]
composed from the signature, run for this page
QCSXTZZZIBWU
Flattened
flattening the list
composed example
o1 = new stzListFlattener([[[[1]], [[2, 3]]], [[[4]]]])
? @@( o1.Flattened() )
#--> [ 1, 2, 3, 4 ]
composed from the signature, run for this page
no extension
AssociateWith
associate with an another listQCSXTZZZIBWU
AssociatedWith
associate with an another list
composed example
o1 = new stzListFlattener([[[[1]], [[2, 3]]], [[[4]]]])
? @@( o1.AssociatedWith([ 2, 3 ]) )
#--> [ [ [ [ [ 1 ] ], [ [ 2, 3 ] ] ], 2 ], [ [ [ [ 4 ] ] ], 3 ] ]
composed from the signature, run for this page
no extension
ToStzTable
(no comment in the source: the name reads as a sentence) to stz tablein the section type conversionno extension
ToStzGrid
(no comment in the source: the name reads as a sentence) to stz gridin the section type conversionno extension
ToStzSet
(no comment in the source: the name reads as a sentence) to stz setin the section type conversionno extension
ToStzListOfNumbers
(no comment in the source: the name reads as a sentence) to stz list of numbersin the section type conversionno extension
ToStzListOfLists
(no comment in the source: the name reads as a sentence) to stz list of listsin the section type conversionno extension
ToStzListOfPairs
(no comment in the source: the name reads as a sentence) to stz list of pairsin the section type conversionno extension
ToStzListOfStrings
(no comment in the source: the name reads as a sentence) to stz list of stringsin the section type conversionno extension
ToStzHashList
(no comment in the source: the name reads as a sentence) to stz hash listin the section type conversionno extension
Stringify
stringifying the listalso written: Stringified
composed example
o1 = new stzListFlattener([[[[1]], [[2, 3]]], [[[4]]]])
? @@( o1.Stringify() )
#--> [ "[ [ [ 1 ] ], [ [ 2, 3 ] ] ]", "[ [ [ 4 ] ] ]" ]
composed from the signature, run for this page
no extension
HasRepeatedLeadingItemsCS
repeated leading/trailing items
composed example
o1 = new stzListFlattener([[[[1]], [[2, 3]]], [[[4]]]])
? o1.HasRepeatedLeadingItemsCS(TRUE)
#--> 0
composed from the signature, run for this page
no extension
HasLeadingItems
repeated leading/trailing items
composed example
o1 = new stzListFlattener([[[[1]], [[2, 3]]], [[[4]]]])
? o1.HasLeadingItems()
#--> 0
composed from the signature, run for this page
no extension
RepeatedLeadingItems
repeated leading/trailing itemsQCSXTZZZIBWU
HasRepeatedTrailingItemsCS
repeated leading/trailing items
composed example
o1 = new stzListFlattener([[[[1]], [[2, 3]]], [[[4]]]])
? o1.HasRepeatedTrailingItemsCS(TRUE)
#--> 0
composed from the signature, run for this page
no extension
RepeatedTrailingItems
repeated leading/trailing itemsQCSXTZZZIBWU
DeepFlatten
deep flattening the listQCSXTZZZIBWU
DeepFlattened
deep flattening the list
composed example
o1 = new stzListFlattener([[[[1]], [[2, 3]]], [[[4]]]])
? @@( o1.DeepFlattened() )
#--> [ 1, 2, 3, 4 ]
composed from the signature, run for this page
no extension
FlattenToDepth
flattening to a given depth
composed example
o1 = new stzListFlattener([[[[1]], [[2, 3]]], [[[4]]]])
o1.FlattenToDepth(2)
? @@( o1.Content() )
#--> [ [ 1 ], [ 2, 3 ], [ 4 ] ]
composed from the signature, run for this page
QCSXTZZZIBWU
FlattenedToDepth
flattening to a given depth
composed example
o1 = new stzListFlattener([[[[1]], [[2, 3]]], [[[4]]]])
? @@( o1.FlattenedToDepth(2) )
#--> [ [ 1 ], [ 2, 3 ], [ 4 ] ]
composed from the signature, run for this page
no extension
Paired
paired (group into pairs)
composed example
o1 = new stzListFlattener([[[[1]], [[2, 3]]], [[[4]]]])
? @@( o1.Paired() )
#--> [ [ [ [ [ 1 ] ], [ [ 2, 3 ] ] ], [ [ [ 4 ] ] ] ] ]
composed from the signature, run for this page
no extension
Chunked
chunked (group into n-size)
composed example
o1 = new stzListFlattener([[[[1]], [[2, 3]]], [[[4]]]])
? @@( o1.Chunked(2) )
#--> [ [ [ [ [ 1 ] ], [ [ 2, 3 ] ] ], [ [ [ 4 ] ] ] ] ]
composed from the signature, run for this page
no extension
InterleavedWith
interleave with another list
composed example
o1 = new stzListFlattener([[[[1]], [[2, 3]]], [[[4]]]])
? @@( o1.InterleavedWith([ 2, 3 ]) )
#--> [ [ [ [ 1 ] ], [ [ 2, 3 ] ] ], 2, [ [ [ 4 ] ] ], 3 ]
composed from the signature, run for this page
no extension
Objectified
objectified (items as objects)
composed example
o1 = new stzListFlattener([[[[1]], [[2, 3]]], [[[4]]]])
? @@( o1.Objectified() )
#--> [ @noname, @noname ]
composed from the signature, run for this page
no extension