Results for “item”
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
Show the count of matching records
Show the count of matching records with a small React component and explicit browser behavior.
React✓ Tested
Track selection by a stable identifier
Track selection by a stable identifier with a small React component and explicit browser behavior.
React✓ Tested
Accept one typed value at a time from a pipeline
PowerShell: An advanced function uses process to handle each pipeline item.
PowerShell✓ Tested
Accumulate pipeline input across begin process and end
PowerShell: Keep initialization and final output separate from per-item work.
PowerShell✓ Tested
Calculate a page count with ceiling division
JavaScript: Use Math.ceil for a nonnegative item count and a positive page size.
JavaScript✓ Tested