among

Searches for the last index of the given argument in range.

size_t
among
(
A
)
()

Parameters

range A

The range to search in.

Return Value

Type: size_t

The last index of the given argument in range with 1-based indexing or -1 if not found.

Meta