• Throws an error if argument is not JWT. Use to ensure that a value is JWT.

    Parameters

    • maybeJwt: string

      A string to check

    Returns asserts maybeJwt is `eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.${string}.${string}`