Awee

first

First returns the first character of a string or the first element of a slice.

First returns the first character of a string or the first element of a slice.

Input

string array

Parameters

None

Returns

string, any

Examples

{{ items | first }}
{{ name | first }}

How is this guide?

On this page