text →
prepend(
    text: text
) → text

Returns the argument value preceeded by the parameter value. If the argument is null, it returns the text specified as the parameter.

Parameters

Name Type Required Description
text text Yes The text to prepend

Examples

"Hello World" | prepend("Hi ")  "Hi Hello World"

Kind: Function
Scope: text/concatenation
Aliases: text-to-prepend


This site uses Just the Docs, a documentation theme for Jekyll.