Asserts that a value is not undefined.
Optional
Value to check
Error object or message to throw if the value is undefined
Asserts that a value is not undefined.