expectNotNullOrUndefined
Return input as T
if the passed input is not null
and undefined
.
Otherwise, throw TypeError
with the passed msg
.
Return input as T
if the passed input is not null
and undefined
.
Otherwise, throw TypeError
with the passed msg
.