Add stub for emoji.is_emoji (#8053)

This commit is contained in:
Vincent Donato
2022-06-09 17:08:08 -07:00
committed by GitHub
parent 95128e61ec
commit ad48606a0d
2 changed files with 2 additions and 0 deletions

View File

@@ -7,6 +7,7 @@ from .core import (
emoji_list as emoji_list,
emojize as emojize,
get_emoji_regexp as get_emoji_regexp,
is_emoji as is_emoji,
replace_emoji as replace_emoji,
version as version,
)

View File

@@ -45,3 +45,4 @@ def distinct_emoji_lis(string: str, language: str | type[_DeprecatedParameter] =
def distinct_emoji_list(string: str) -> list[str]: ...
def emoji_count(string: str, unique: bool = ...) -> int: ...
def version(string: str) -> float: ...
def is_emoji(string: str) -> bool: ...