expectNotNullReturn input as T if the passed input is not null. Otherwise, throw TypeError with the passed msg. function expectNotNull<T>(input: Nullable<T>, msg: string): NotNull<T>;§expectNotNull<T>(input: Nullable<T>, msg: string): NotNull<T>[src]§Type Parameters§T[src]§Parameters§input: Nullable<T>[src]§msg: string[src]§Return Type§NotNull<T>[src]