append
text →
append(
text: text
) → text
Returns the argument value followed by the parameter value. If the argument is null, it returns the text specified as the parameter.
Deprecated: Use
suffixinstead. This function is planned for removal in Expressif 3.0.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
text | text | Yes | The text to append |
Argument evaluation
text: Evaluated once in the enclosing context.
Behavior
Deprecated in favor of suffix and planned for removal in Expressif 3.0. A direct replacement changes null handling because suffix preserves null. Use null-to-empty | suffix(...) to retain the existing behavior for null input.
Examples
"Hello World" | append("Hi ") → "Hello WorldHi "
Kind: Function
Scope: text/concatenation
Aliases: text-to-append