Contents

scalar

A computed property that returns the first element when the shape isn’t empty, or sets the shaped array’s underlying scalar type.

Declaration

var scalar: Self.Scalar? { get set }

See Also

Inspecting a shaped array type