index(for:)
Returns the bin index for the given value.
Declaration
func index(for value: Value) -> IntParameters
- value:
The number value to get the index for.
Return Value
The bin index.
Returns the bin index for the given value.
func index(for value: Value) -> IntThe number value to get the index for.
The bin index.