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

stzListBounder

21 own methods · 13 forms written with extensions, listed under their method

the source: base/list/stzListBounder.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; 11 were composed from each method's signature and run for this page, on a fresh object, for example o1 = new stzListBounder(["a", "b", "c", "d", "e"]). 10 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
content accessno extension
NumberOfItems
content access
composed example
o1 = new stzListBounder(["a", "b", "c", "d", "e"])
? o1.NumberOfItems()
#--> 5
composed from the signature, run for this page
no extension
IsEmpty
content access
composed example
o1 = new stzListBounder(["a", "b", "c", "d", "e"])
? o1.IsEmpty()
#--> 0
composed from the signature, run for this page
no extension
Section
getting a section (slice) of the listalso written: Between · ItemsBetweenPositions
composed example
o1 = new stzListBounder(["a", "b", "c", "d", "e"])
? @@( o1.Section(2, 5) )
#--> [ "b", "c", "d", "e" ]
composed from the signature, run for this page
QCSXTZZZIBWU
Sections
getting many sectionsalso written: ManySectionsQCSXTZZZIBWU
AreBoundsOf
checking if the 2 items are bounds of a substringQCSXTZZZIBWU
IsBoundedBy
checking if the list is bounded by the given two itemsQCSXTZZZIBWU
BoundsUpToNItems
getting bounds of the list up to n items
composed example
o1 = new stzListBounder(["a", "b", "c", "d", "e"])
? @@( o1.BoundsUpToNItems(2) )
#--> [ [ "a", "b" ], [ "d", "e" ] ]
composed from the signature, run for this page
no extension
Bounds
getting bounds of the list up to n items
composed example
o1 = new stzListBounder(["a", "b", "c", "d", "e"])
? @@( o1.Bounds() )
#--> [ "a", "e" ]
composed from the signature, run for this page
no extension
RemoveBounds
removing boundsQCSXTZZZIBWU
BoundsRemoved
A copy of the list with the given bounds removed; the original is unchanged.no extension
IsPair
is pair / is list of pairs
composed example
o1 = new stzListBounder(["a", "b", "c", "d", "e"])
? o1.IsPair()
#--> 0
composed from the signature, run for this page
no extension
IsListOfPairs
is pair / is list of pairs
composed example
o1 = new stzListBounder(["a", "b", "c", "d", "e"])
? o1.IsListOfPairs()
#--> 0
composed from the signature, run for this page
no extension
Middle
getting the middle of the listalso written: WithoutBounds
composed example
o1 = new stzListBounder(["a", "b", "c", "d", "e"])
? @@( o1.Middle() )
#--> [ "b", "c", "d" ]
composed from the signature, run for this page
no extension
Range
range (start, count)QCSXTZZZIBWU
ClampedTo
clamped to min/max valuesno extension
ClampTo
clamped to min/max valuesQCSXTZZZIBWU
IsWithinBounds
check if position is within boundsalso written: HasPosition · PositionExists
composed example
o1 = new stzListBounder(["a", "b", "c", "d", "e"])
? o1.IsWithinBounds(2)
#--> 1
composed from the signature, run for this page
no extension
NFirstItems
first n and last n itemsalso written: Take · FirstNItems
composed example
o1 = new stzListBounder(["a", "b", "c", "d", "e"])
? @@( o1.NFirstItems(2) )
#--> [ "a", "b" ]
composed from the signature, run for this page
no extension
NLastItems
first n and last n itemsalso written: TakeLast · LastNItems
composed example
o1 = new stzListBounder(["a", "b", "c", "d", "e"])
? @@( o1.NLastItems(2) )
#--> [ "d", "e" ]
composed from the signature, run for this page
no extension