subscript(_:)
Reads and writes the value at the given index as a floating point value.
Declaration
subscript<T>(index: Int) -> T? where T : BinaryFloatingPoint { get set }Parameters
- index:
The position of the element to access.
Return Value
The value at the specified index in the array, otherwise nil.