MCPcopy
hub / github.com/ThatGuySam/doesitarm / hasEmoji

Function hasEmoji

test/prebuild/index.test.js:22–24  ·  view source on GitHub ↗

* Detect Emojis(Extended Pictograph) in string * https://stackoverflow.com/a/64007175/1397641

(string)

Source from the content-addressed store, hash-verified

20 * https://stackoverflow.com/a/64007175/1397641
21 */
22function hasEmoji(string) {
23 return /\p{Extended_Pictographic}/u.test(string)
24}
25
26describe('README Validation', () => {
27 let readmeFileContent

Callers 1

index.test.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected