The first filter returns either the first element of an array or the first value of a key-value pair or the first character of a string.
{{ [1, 2, 3, 4]|first }}
Result
1
{{ { a: 1, b: 2, c: 3, d: 4 }|first }}
Result
1
{{ '1234'|first }}
Result
1