Skip to main content

Check whether a string or character has any emoji

Project description

Has Emoji

Check whether a string or character has any emoji

Screenshot

Install

$ pip install hasemoji

Usage

import hasemoji

print(hasemoji.char('😃'))
#=> True

print(hasemoji.string('I 💖 emoji'))
#=> True

print(hasemoji.char('I'))
#=> False

print(hasemoji.string('I love emoji'))
#=> False

License

MIT Yoginth

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hasemoji-1.0.1.tar.gz (1.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page