Results for “collection”
Small, practical examples. Search by task or narrow things down below.
Replace one collection element
Python: Update an existing element at a known valid index.
Python✓ Tested
Replace one collection element
C#: Update an existing element at a known valid index.
C#✓ Tested
Replace one collection element
Java: Update an existing element at a known valid index.
Java✓ Tested
Replace one collection element
JavaScript: Update an existing element at a known valid index.
JavaScript✓ Tested
Replace one collection element
TypeScript: Update an existing element at a known valid index.
TypeScript✓ Tested
Replace one collection element
C++: Update an existing element at a known valid index.
C++✓ Tested
Replace one collection element
C: Update an existing element at a known valid index.
C✓ Tested
Return a collection as one pipeline object
PowerShell: The unary comma prevents the returned array from being enumerated at this boundary.
PowerShell✓ Tested
Return to the previous collection in a chain
jQuery: end restores the selection before the last traversal operation.
jQuery✓ Tested
Select a range from a collection
jQuery: slice includes the start index and excludes the end index.
jQuery✓ Tested
Sort a derived copy of a collection
Sort a derived copy of a collection with a standalone Angular component and explicit browser behavior.
Angular✓ Tested
Sum a collection
Calculate a total with Measure-Object.
Measure-Object✓ Tested