mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-28 14:46:55 +08:00
Add stub for emoji.is_emoji (#8053)
This commit is contained in:
@@ -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,
|
||||
)
|
||||
|
||||
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user