core.isjwt | Medplum

isJwt() function

Returns true if the token is a JWT.

Signature:

export declare function isJwt(token: string): boolean;

Parameters

Parameter Type Description
token string The potential JWT token.

Returns:

boolean

True if the token is a JWT.