vlt.validators.mustBeVectorOrEmpty¶
mustBeVectorOrEmpty - Validation function to ensure an input is a vector or is empty
mustBeVectorOrEmpty(A)
Throws an error if A is not a vector and is not empty.
This is useful for argument validation where an empty value is acceptable.