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