Contents

index(for:)

Returns the bin index for the given value.

Declaration

func index(for value: Value) -> Int

Parameters

  • value:

    The number value to get the index for.

Return Value

The bin index.