Help centerConsole

Getting Started

IntroductionCreate a projectIntelliSense

AI Components

Getting started

Courier

Getting startedCommandsConfiguration
Upgrade

Canvas

ExpressionsFilters & functionsCanvasTemplatingVariables
absbatchcapitalizecolumnconvert_encodingdate_modifydatedefaultescapefilterfirstformatgroup_byimage_tagimage_urljoinjson_encodekeyslastlengthlowermapmergenl2brnumber_formatrawreading_timereducereplacereverseroundsliceslugsortspacelesssplitstriptagstitletrimupperurl_encodeDeprecated filters
Help centerConsole
DocumentationAPI ReferenceGuidesChangelog
CanvasFilters

abs

The abs filter returns the absolute value.

{# number = -5 #}
{{ number | abs }}
{# outputs 5 #}

Last updated on

with

Previous Page

batch

The batch filter "batches" items by returning a list of lists with the given number of items.