method Wildcard.prototype.test Wildcard.prototype.test(str: string): boolean Tests if the pattern matches the given string. Parameters str: string String to test against the pattern Return Type boolean true if the string matches the pattern Throws TypeError if argument is not a string