A potentially-async function that checks the validity of a value.
Async functions should check wasReset to avoid doing unnecessary work.
wasReset
A potentially-async function that checks the validity of a value.
Async functions should check
wasResetto avoid doing unnecessary work.