Skip to content

[F] isVoidType

function isVoidType(type): type is VoidType;

Narrow an entity to the intrinsic void type used for an absent operation result.

ParameterType
typeEntity

type is VoidType