Skip to main content

Function: append()

append(this, left, other): string | Markup

Return the input value concatenated with the argument value.

If either the input value or argument are not a string, they will be coerced to a string before concatenation.

Parameters

this: FilterContext

An object containing a reference to the active render context and any keyword/named arguments.

left: unknown

Any value. Will be coerced to a string if it's not one already.

other: unknown

Any value. Will be coerced to a string if it's not one already.

Returns

string | Markup

The input value concatenated with the argument value.

Defined in

src/builtin/filters/string.ts:20