Parsed documentation:
View on GitHub
* isHeadless is a check to see if the header section of the JWT exists
* @param token - the token extracted from Header/Cookie/query
* @returns {boolean} true|false - true if JWT is without a header section,
* false if it is not
* @example
* // returns true if the token consist of 3 parts
* const isheadless = isHeadless(token);
Please help! Open an issue on GitHub if this assessment is incorrect.