getNth

fun getNth(nth: <Error class: unknown class>): <Error class: unknown class>

Returns the value of the @nth item in self.

If @nth is >= the size of @self, 0 is returned.

Return

the value of the @nth item in @self

Parameters

nth

index of the item to get