Results for “tr”
Small, practical examples. Search by task or narrow things down below.
Type a function’s inputs and output
Catch mismatched arguments during compilation.
function✓ Tested
Type an object update with Partial
Allow a caller to provide just the fields to change.
Partial✓ Tested
Understand setup() and loop()
Arduino / C: See initialization run once and the main loop run repeatedly.
Arduino / C✓ Tested
Unstage a file without losing edits
Return a staged change to the working tree.
restore✓ Tested
Update a nested object immutably
Update a nested object immutably with a small React component and explicit browser behavior.
React✓ Tested
Update a row on conflict
Use a primary key to insert or update one value.
upsert✓ Tested
Update a running count
TypeScript: Change a variable after its initial value has been assigned.
TypeScript✓ Tested
Update a running count
C++: Change a variable after its initial value has been assigned.
C++✓ Tested
Update a running count
C: Change a variable after its initial value has been assigned.
C✓ Tested
Update a signal from its previous value
Update a signal from its previous value with a standalone Angular component and explicit browser behavior.
Angular✓ Tested
Update an object with a readonly input
Create a changed copy while retaining the original.
readonly✓ Tested
Update an object without mutating state
Update an object without mutating state with a small React component and explicit browser behavior.
React✓ Tested