JWTRegisteredClaims.hasSubject()

Returns true if the sub parameter exists. This method does not check whether the parameter value is valid.

Definition

function hasSubject(): boolean;