length

Count string characters, array items, or object keys.

Syntax

{{ value | length }}

Example

01

Basic usage

InputTS
1{2  "tags": [3    "notes",4    "ideas",5    "books"6  ]7}
TemplateKNAP
1{{ tags | length }}
OutputKNAP
13