pull request comment: changing format comparison to a string of undefined determined by typeof