first()
Get the first element of the Enumerable.
Returns
(any): first element of the Enumerable.
Example
Enumerable
.from([4, 7, 2])
.first();
// 4
first()
Get the first element of the Enumerable.
(any): first element of the Enumerable.
Enumerable
.from([4, 7, 2])
.first();
// 4