Must Be All Or None Empty
Package: kwave.utilities
Validate that multiple inputs are either all empty, or none of them are empty. Can be used to check that sets of input arguments are all defined, or all not defined.
Syntax
mustBeAllOrNoneEmpty(a, b, ...);
Description
mustBeAllOrNoneEmpty throws an error if two or more inputs are not either all empty, or all non-empty.
Input Arguments
a,b, ... - Inputs to validate.