Home Manual Reference Source

References

summary
public

F first(iterable: Iterable): any

Returns the first value of the input iterable.

public

F last(iterable: Iterable): any

Returns the last value of the input iterable.

public

F nth(iterable: Iterable, n: number): any

Returns the nth value of the input iterable (n is a 0-based index).