_IsNever type

Utility type to check if Type is never.

export declare type _IsNever<Type> = [Type] extends [never] ? true : false;

Remarks

Since never is an empty set, the brackets are used to disable distribution over the generic type argument.