Asserts that a given input is not undefined, and throws a DataError if it does.
undefined
If no error is thrown from this, the input type gets narrowed down to not include undefined.
The type of the input.
The input to assert against.
If the input is undefined.
Asserts that a given input is not
undefined, and throws a DataError if it does.If no error is thrown from this, the input type gets narrowed down to not include
undefined.