Contents

isScalar

A Boolean value that indicates whether the shaped array lacks a shape.

Declaration

var isScalar: Bool { get }

Discussion

The value is equivalent to shape.isEmpty.

See Also

Inspecting a shaped array type