changing doc format and HTML literals

This commit is contained in:
udo
2026-04-22 01:56:46 +00:00
parent 8223dcc6b3
commit f7b066b374
123 changed files with 1917 additions and 1611 deletions
+9 -6
View File
@@ -5,12 +5,15 @@ String first(String... args)
args : a variable number of String arguments
return value : first of the 'args' that was not empty.
:desc
Given a variable number of String parameters, the first() function returns the first of these parameters that was not empty. Leading and trailing whitespace characters are not considered, resulting in a string that contains only whitespace characters being considered empty.
:see
>string
:related
**PHP:** Null-coalescing patterns like `$a ?? $b`, fallback helpers, or `reset()` for arrays
**JavaScript / Node.js:** `??`, `||`, and small fallback helper functions
:content
Returns the first non-empty string from the provided arguments.
Leading and trailing whitespace are ignored when checking emptiness, so a string containing only whitespace counts as empty.
## Related Concepts
- PHP: null-coalescing patterns like `$a ?? $b`, fallback helpers, or `reset()` for arrays
- JavaScript / Node.js: `??`, `||`, and small fallback helper functions