last
Filters = last
Returns the last item of an array.
INPUT | OUTPUT |
---|---|
| Tom |
INPUT | OUTPUT |
---|---|
| tiger |
You can use "last"
with dot notation when you need to use the filter inside a tag:
Example |
---|
|
Returns the last item of an array.
INPUT | OUTPUT |
---|---|
| Tom |
INPUT | OUTPUT |
---|---|
| tiger |
You can use "last"
with dot notation when you need to use the filter inside a tag:
Example |
---|
|