Assert that input is an array of undefined values.
Parameters
input: unknown
error: string|Error = 'input is not an array of undefined'
Returns assertsinputisundefined[]
Example
assertIsUndefinedArray([undefined, undefined]); // does not throw assertIsUndefinedArray([undefined, null]); // throws TypeError: input is not an array of undefined
Assert that
inputis an array ofundefinedvalues.