Asserts that a value exists (is not null or undefined) and throws an error if it doesn't
The type of the value
The value to assert existence for
Error if the value is null or undefined
Asserts that a value exists (is not null or undefined) and throws an error if it doesn't