2f9b798ed4b61388b021980c710e2f8857d2e54c3e0c84f65e800c7bd5e448cd.json 595 B

1
  1. {"ast":null,"code":"/** Used to detect strings that need a more robust regexp to match words. */\nvar reHasUnicodeWord = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;\n\n/**\n * Checks if `string` contains a word composed of Unicode symbols.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {boolean} Returns `true` if a word is found, else `false`.\n */\nfunction hasUnicodeWord(string) {\n return reHasUnicodeWord.test(string);\n}\nexport default hasUnicodeWord;","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}