Skip to content

[F] isNeverType

function isNeverType(type): type is NeverType;

Narrow an entity to the intrinsic never type, which has no possible values.

ParameterType
typeEntity

type is NeverType