Results for “then”
Small, practical examples. Search by task or narrow things down below.
Require a minimum text length
Require a minimum text length with a standalone Angular component and explicit browser behavior.
Angular✓ Tested
Require an input value
Require an input value with a standalone Angular component and explicit browser behavior.
Angular✓ Tested
Require two conditions to be true
TypeScript: Combine a lower and an upper bound to check whether a value is in range.
TypeScript✓ Tested
Require two conditions to be true
C++: Combine a lower and an upper bound to check whether a value is in range.
C++✓ Tested
Require two conditions to be true
C: Combine a lower and an upper bound to check whether a value is in range.
C✓ Tested
Reset a nonnullable control to its initial value
Reset a nonnullable control to its initial value with a standalone Angular component and explicit browser behavior.
Angular✓ Tested
Reset a template-driven form
Reset a template-driven form with a standalone Angular component and explicit browser behavior.
Angular✓ Tested
Resolve a relative URL against a base
TypeScript: A trailing slash makes the final base path component a directory.
TypeScript✓ Tested
Retrieve the result of an asynchronous task
C++: The explicit async launch policy requests asynchronous execution rather than deferred evaluation.
C++✓ Tested
Return a status separately from a calculated result
C: An output pointer lets a function return success or failure independently of its numeric result.
C✓ Tested
Return a value from a loop
Return a value from a loop in a complete Rust program using the standard library.
Rust✓ Tested
Return the first item with a generic function
Preserve the element type while allowing empty arrays.
generics✓ Tested