isVector property

bool get isVector

Checks if this is a 1D shape (vector)

Implementation

bool get isVector => _dimensions.length == 1;