When to use these helpers
Use the preferred helper for new work. These aliases are recorded so an existing configuration can be understood and migrated deliberately. Most are not part of the document-template runtime.Calling style
Call a helper astoLowercase($.service_name). Not every helper is available everywhere: validation, form, and document-template helpers have distinct context contracts. Editor suggestions are not proof that a helper is supported at runtime.
Complete function reference
endWith
Legacy alias for endsWith. Prefer endsWith(value, suffix).
Signature: endWith(value, suffix)
Example:
value | endWith(...).
flat
Legacy alias for flatten. Prefer flatten(list).
Signature: flat(list)
Example:
value | flat(...).
formatDate
Legacy alias for dateFormat. Prefer dateFormat(date, format).
Signature: formatDate(date, format)
Example:
value | formatDate(...).
get
Legacy alias for getByPath. Prefer getByPath(value, path).
Signature: get(value, path)
Example:
value | get(...).
replaceFirst
Legacy alias for replace. It replaces the first matching occurrence only.
Signature: replaceFirst(value, search, replacement)
Example:
value | replaceFirst(...).
sort
Compatibility sorter that copies and orders values numerically when possible. It replaces the module sort registration; use sortAsc, sortDesc, or sortBy for new configurations.
Signature: sort(list, direction = "asc")
Example:
value | sort(...).
sortByField
Compatibility alias for sortBy. Prefer sortBy(list, field, direction).
Signature: sortByField(list, field, direction = "asc")
Example:
value | sortByField(...).
startWith
Legacy alias for startsWith. Prefer startsWith(value, prefix).
Signature: startWith(value, prefix)
Example:
value | startWith(...).
toLowercase
Legacy alias for lower. Prefer lower(value) in new configurations.
Signature: toLowercase(value)
Example:
value | toLowercase(...).
toUppercase
Legacy alias for upper. Prefer upper(value) in new configurations.
Signature: toUppercase(value)
Example:
value | toUppercase(...).
Before you publish
- Start with a known value and confirm the expected result.
- Handle null, empty text, and empty lists deliberately.
- Do not place secrets, access tokens, or sensitive personal data in an expression.
- Read expression contexts and availability before copying an expression between features.


