pub fn first(value: Value) -> Result<Value, Error>
Returns the first item from an iterable.
If the list is empty undefined is returned.
undefined
<dl> <dt>primary email <dd>{{ user.email_addresses|first|default('no user') }} </dl>