Functions to introspect Unicode properties for binaries (Strings) and codepoints.
The functions in this module only represent boolean properties. That is, properties that are either true or false - or in several cases represented as "has property" or "does not have property".
Summary
Functions
Returns a map of aliases for Unicode properties.
Returns :alphabetic or nil indicating
if the codepoint or string has the property
:alphabetic.
Returns a boolean indicating if the
codepoint or string has the property
:alphabetic.
Returns :alphanumeric or nil based upon
whether the given codepoint or binary
is all alphanumeric characters.
Returns a boolean based upon whether the given codepoint or binary is all alphanumeric characters.
Returns :ascii_hex_digit or nil indicating
if the codepoint or string has the property
:ascii_hex_digit.
Returns a boolean indicating if the
codepoint or string has the property
:ascii_hex_digit.
Returns :bidi_control or nil indicating
if the codepoint or string has the property
:bidi_control.
Returns a boolean indicating if the
codepoint or string has the property
:bidi_control.
Returns :case_ignorable or nil indicating
if the codepoint or string has the property
:case_ignorable.
Returns a boolean indicating if the
codepoint or string has the property
:case_ignorable.
Returns :cased or nil indicating
if the codepoint or string has the property
:cased.
Returns a boolean indicating if the
codepoint or string has the property
:cased.
Returns :changes_when_casefolded or nil indicating
if the codepoint or string has the property
:changes_when_casefolded.
Returns a boolean indicating if the
codepoint or string has the property
:changes_when_casefolded.
Returns :changes_when_casemapped or nil indicating
if the codepoint or string has the property
:changes_when_casemapped.
Returns a boolean indicating if the
codepoint or string has the property
:changes_when_casemapped.
Returns :changes_when_lowercased or nil indicating
if the codepoint or string has the property
:changes_when_lowercased.
Returns a boolean indicating if the
codepoint or string has the property
:changes_when_lowercased.
Returns :changes_when_titlecased or nil indicating
if the codepoint or string has the property
:changes_when_titlecased.
Returns a boolean indicating if the
codepoint or string has the property
:changes_when_titlecased.
Returns :changes_when_uppercased or nil indicating
if the codepoint or string has the property
:changes_when_uppercased.
Returns a boolean indicating if the
codepoint or string has the property
:changes_when_uppercased.
Returns the count of the number of characters for a given property.
Returns :dash or nil indicating
if the codepoint or string has the property
:dash.
Returns a boolean indicating if the
codepoint or string has the property
:dash.
Returns :default_ignorable_code_point or nil indicating
if the codepoint or string has the property
:default_ignorable_code_point.
Returns a boolean indicating if the
codepoint or string has the property
:default_ignorable_code_point.
Returns :deprecated or nil indicating
if the codepoint or string has the property
:deprecated.
Returns a boolean indicating if the
codepoint or string has the property
:deprecated.
Returns :diacritic or nil indicating
if the codepoint or string has the property
:diacritic.
Returns a boolean indicating if the
codepoint or string has the property
:diacritic.
Returns :emoji or nil indicating
if the codepoint or string has the property
:emoji.
Returns a boolean indicating if the
codepoint or string has the property
:emoji.
Returns :emoji_component or nil indicating
if the codepoint or string has the property
:emoji_component.
Returns a boolean indicating if the
codepoint or string has the property
:emoji_component.
Returns :emoji_modifier or nil indicating
if the codepoint or string has the property
:emoji_modifier.
Returns a boolean indicating if the
codepoint or string has the property
:emoji_modifier.
Returns :emoji_modifier_base or nil indicating
if the codepoint or string has the property
:emoji_modifier_base.
Returns a boolean indicating if the
codepoint or string has the property
:emoji_modifier_base.
Returns :emoji_presentation or nil indicating
if the codepoint or string has the property
:emoji_presentation.
Returns a boolean indicating if the
codepoint or string has the property
:emoji_presentation.
Returns :extended_numeric or nil based upon
whether the given codepoint or binary
is all extended numeric characters.
Returns a boolean based upon whether the given codepoint or binary is all extended numeric characters.
Returns :extended_pictographic or nil indicating
if the codepoint or string has the property
:extended_pictographic.
Returns a boolean indicating if the
codepoint or string has the property
:extended_pictographic.
Returns :extender or nil indicating
if the codepoint or string has the property
:extender.
Returns a boolean indicating if the
codepoint or string has the property
:extender.
Returns the Unicode ranges for a given property as a list of ranges as 2-tuples.
Returns the Unicode ranges for a given property as a list of ranges as 2-tuples.
Returns :grapheme_base or nil indicating
if the codepoint or string has the property
:grapheme_base.
Returns a boolean indicating if the
codepoint or string has the property
:grapheme_base.
Returns :grapheme_extend or nil indicating
if the codepoint or string has the property
:grapheme_extend.
Returns a boolean indicating if the
codepoint or string has the property
:grapheme_extend.
Returns :grapheme_link or nil indicating
if the codepoint or string has the property
:grapheme_link.
Returns a boolean indicating if the
codepoint or string has the property
:grapheme_link.
Returns :hex_digit or nil indicating
if the codepoint or string has the property
:hex_digit.
Returns a boolean indicating if the
codepoint or string has the property
:hex_digit.
Returns :hyphen or nil indicating
if the codepoint or string has the property
:hyphen.
Returns a boolean indicating if the
codepoint or string has the property
:hyphen.
Returns :id_compat_math_continue or nil indicating
if the codepoint or string has the property
:id_compat_math_continue.
Returns a boolean indicating if the
codepoint or string has the property
:id_compat_math_continue.
Returns :id_compat_math_start or nil indicating
if the codepoint or string has the property
:id_compat_math_start.
Returns a boolean indicating if the
codepoint or string has the property
:id_compat_math_start.
Returns :id_continue or nil indicating
if the codepoint or string has the property
:id_continue.
Returns a boolean indicating if the
codepoint or string has the property
:id_continue.
Returns :id_start or nil indicating
if the codepoint or string has the property
:id_start.
Returns a boolean indicating if the
codepoint or string has the property
:id_start.
Returns :ideographic or nil indicating
if the codepoint or string has the property
:ideographic.
Returns a boolean indicating if the
codepoint or string has the property
:ideographic.
Returns :ids_binary_operator or nil indicating
if the codepoint or string has the property
:ids_binary_operator.
Returns a boolean indicating if the
codepoint or string has the property
:ids_binary_operator.
Returns :ids_trinary_operator or nil indicating
if the codepoint or string has the property
:ids_trinary_operator.
Returns a boolean indicating if the
codepoint or string has the property
:ids_trinary_operator.
Returns :ids_unary_operator or nil indicating
if the codepoint or string has the property
:ids_unary_operator.
Returns a boolean indicating if the
codepoint or string has the property
:ids_unary_operator.
Returns :incb or nil indicating
if the codepoint or string has the property
:incb.
Returns a boolean indicating if the
codepoint or string has the property
:incb.
Returns :join_control or nil indicating
if the codepoint or string has the property
:join_control.
Returns a boolean indicating if the
codepoint or string has the property
:join_control.
Returns a list of known Unicode property names.
Returns :logical_order_exception or nil indicating
if the codepoint or string has the property
:logical_order_exception.
Returns a boolean indicating if the
codepoint or string has the property
:logical_order_exception.
Returns :lowercase or nil indicating
if the codepoint or string has the property
:lowercase.
Returns a boolean indicating if the
codepoint or string has the property
:lowercase.
Returns :math or nil indicating
if the codepoint or string has the property
:math.
Returns a boolean indicating if the
codepoint or string has the property
:math.
Returns :modifier_combining_mark or nil indicating
if the codepoint or string has the property
:modifier_combining_mark.
Returns a boolean indicating if the
codepoint or string has the property
:modifier_combining_mark.
Returns :noncharacter_code_point or nil indicating
if the codepoint or string has the property
:noncharacter_code_point.
Returns a boolean indicating if the
codepoint or string has the property
:noncharacter_code_point.
Returns :numeric or nil based upon
whether the given codepoint or binary
is all numeric characters.
Returns a boolean based upon whether the given codepoint or binary is all numeric characters.
Returns :other_alphabetic or nil indicating
if the codepoint or string has the property
:other_alphabetic.
Returns a boolean indicating if the
codepoint or string has the property
:other_alphabetic.
Returns :other_default_ignorable_code_point or nil indicating
if the codepoint or string has the property
:other_default_ignorable_code_point.
Returns a boolean indicating if the
codepoint or string has the property
:other_default_ignorable_code_point.
Returns :other_grapheme_extend or nil indicating
if the codepoint or string has the property
:other_grapheme_extend.
Returns a boolean indicating if the
codepoint or string has the property
:other_grapheme_extend.
Returns :other_id_continue or nil indicating
if the codepoint or string has the property
:other_id_continue.
Returns a boolean indicating if the
codepoint or string has the property
:other_id_continue.
Returns :other_id_start or nil indicating
if the codepoint or string has the property
:other_id_start.
Returns a boolean indicating if the
codepoint or string has the property
:other_id_start.
Returns :other_lowercase or nil indicating
if the codepoint or string has the property
:other_lowercase.
Returns a boolean indicating if the
codepoint or string has the property
:other_lowercase.
Returns :other_math or nil indicating
if the codepoint or string has the property
:other_math.
Returns a boolean indicating if the
codepoint or string has the property
:other_math.
Returns :other_uppercase or nil indicating
if the codepoint or string has the property
:other_uppercase.
Returns a boolean indicating if the
codepoint or string has the property
:other_uppercase.
Returns :pattern_syntax or nil indicating
if the codepoint or string has the property
:pattern_syntax.
Returns a boolean indicating if the
codepoint or string has the property
:pattern_syntax.
Returns :pattern_white_space or nil indicating
if the codepoint or string has the property
:pattern_white_space.
Returns a boolean indicating if the
codepoint or string has the property
:pattern_white_space.
Returns :prepended_concatenation_mark or nil indicating
if the codepoint or string has the property
:prepended_concatenation_mark.
Returns a boolean indicating if the
codepoint or string has the property
:prepended_concatenation_mark.
Returns the map of Unicode properties.
Returns the property name(s) for the given binary or codepoint.
Returns :quotation_mark or nil indicating
if the codepoint or string has the property
:quotation_mark.
Returns a boolean indicating if the
codepoint or string has the property
:quotation_mark.
Returns :radical or nil indicating
if the codepoint or string has the property
:radical.
Returns a boolean indicating if the
codepoint or string has the property
:radical.
Returns :regional_indicator or nil indicating
if the codepoint or string has the property
:regional_indicator.
Returns a boolean indicating if the
codepoint or string has the property
:regional_indicator.
Returns :sentence_terminal or nil indicating
if the codepoint or string has the property
:sentence_terminal.
Returns a boolean indicating if the
codepoint or string has the property
:sentence_terminal.
Returns a map of properties to the module that serves that property.
Returns :soft_dotted or nil indicating
if the codepoint or string has the property
:soft_dotted.
Returns a boolean indicating if the
codepoint or string has the property
:soft_dotted.
Returns :terminal_punctuation or nil indicating
if the codepoint or string has the property
:terminal_punctuation.
Returns a boolean indicating if the
codepoint or string has the property
:terminal_punctuation.
Returns :unified_ideograph or nil indicating
if the codepoint or string has the property
:unified_ideograph.
Returns a boolean indicating if the
codepoint or string has the property
:unified_ideograph.
Returns :uppercase or nil indicating
if the codepoint or string has the property
:uppercase.
Returns a boolean indicating if the
codepoint or string has the property
:uppercase.
Returns :variation_selector or nil indicating
if the codepoint or string has the property
:variation_selector.
Returns a boolean indicating if the
codepoint or string has the property
:variation_selector.
Returns :white_space or nil indicating
if the codepoint or string has the property
:white_space.
Returns a boolean indicating if the
codepoint or string has the property
:white_space.
Returns :xid_continue or nil indicating
if the codepoint or string has the property
:xid_continue.
Returns a boolean indicating if the
codepoint or string has the property
:xid_continue.
Returns :xid_start or nil indicating
if the codepoint or string has the property
:xid_start.
Returns a boolean indicating if the
codepoint or string has the property
:xid_start.
Types
@type string_or_codepoint() :: String.t() | non_neg_integer()
Functions
Returns a map of aliases for Unicode properties.
An alias is an alternative name
for referring to a property. Aliases
are resolved by the fetch/1 and
get/1 functions.
Returns
- A map of property aliases to property names.
Examples
iex> Unicode.Property.aliases() |> Map.get("alpha")
:alphabetic
Returns :alphabetic or nil indicating
if the codepoint or string has the property
:alphabetic.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
:alphabeticornil. For a string, the result is:alphabeticonly if all codepoints in the string have the:alphabeticproperty.
Returns a boolean indicating if the
codepoint or string has the property
:alphabetic.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
trueorfalse. For a string, the result istrueonly if all codepoints in the string have the:alphabeticproperty.
Returns :alphanumeric or nil based upon
whether the given codepoint or binary
is all alphanumeric characters.
This is useful when the desired result is
truthy or falsy.
Arguments
codepoint_or_binaryis a single integer codepoint or aString.t/0.
Returns
:alphanumericornil.
Examples
iex> Unicode.Property.alphanumeric "123abc"
:alphanumeric
iex> Unicode.Property.alphanumeric "???"
nil
Returns a boolean based upon whether the given codepoint or binary is all alphanumeric characters.
Arguments
codepoint_or_binaryis a single integer codepoint or aString.t/0.
Returns
trueorfalse. For a string, the result istrueonly if all codepoints in the string are alphanumeric.
Examples
iex> Unicode.Property.alphanumeric? "123abc"
true
iex> Unicode.Property.alphanumeric? "⅔"
false
Returns :ascii_hex_digit or nil indicating
if the codepoint or string has the property
:ascii_hex_digit.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
:ascii_hex_digitornil. For a string, the result is:ascii_hex_digitonly if all codepoints in the string have the:ascii_hex_digitproperty.
Returns a boolean indicating if the
codepoint or string has the property
:ascii_hex_digit.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
trueorfalse. For a string, the result istrueonly if all codepoints in the string have the:ascii_hex_digitproperty.
Returns :bidi_control or nil indicating
if the codepoint or string has the property
:bidi_control.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
:bidi_controlornil. For a string, the result is:bidi_controlonly if all codepoints in the string have the:bidi_controlproperty.
Returns a boolean indicating if the
codepoint or string has the property
:bidi_control.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
trueorfalse. For a string, the result istrueonly if all codepoints in the string have the:bidi_controlproperty.
Returns :case_ignorable or nil indicating
if the codepoint or string has the property
:case_ignorable.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
:case_ignorableornil. For a string, the result is:case_ignorableonly if all codepoints in the string have the:case_ignorableproperty.
Returns a boolean indicating if the
codepoint or string has the property
:case_ignorable.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
trueorfalse. For a string, the result istrueonly if all codepoints in the string have the:case_ignorableproperty.
Returns :cased or nil indicating
if the codepoint or string has the property
:cased.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
:casedornil. For a string, the result is:casedonly if all codepoints in the string have the:casedproperty.
Returns a boolean indicating if the
codepoint or string has the property
:cased.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
trueorfalse. For a string, the result istrueonly if all codepoints in the string have the:casedproperty.
Returns :changes_when_casefolded or nil indicating
if the codepoint or string has the property
:changes_when_casefolded.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
:changes_when_casefoldedornil. For a string, the result is:changes_when_casefoldedonly if all codepoints in the string have the:changes_when_casefoldedproperty.
Returns a boolean indicating if the
codepoint or string has the property
:changes_when_casefolded.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
trueorfalse. For a string, the result istrueonly if all codepoints in the string have the:changes_when_casefoldedproperty.
Returns :changes_when_casemapped or nil indicating
if the codepoint or string has the property
:changes_when_casemapped.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
:changes_when_casemappedornil. For a string, the result is:changes_when_casemappedonly if all codepoints in the string have the:changes_when_casemappedproperty.
Returns a boolean indicating if the
codepoint or string has the property
:changes_when_casemapped.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
trueorfalse. For a string, the result istrueonly if all codepoints in the string have the:changes_when_casemappedproperty.
Returns :changes_when_lowercased or nil indicating
if the codepoint or string has the property
:changes_when_lowercased.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
:changes_when_lowercasedornil. For a string, the result is:changes_when_lowercasedonly if all codepoints in the string have the:changes_when_lowercasedproperty.
Returns a boolean indicating if the
codepoint or string has the property
:changes_when_lowercased.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
trueorfalse. For a string, the result istrueonly if all codepoints in the string have the:changes_when_lowercasedproperty.
Returns :changes_when_titlecased or nil indicating
if the codepoint or string has the property
:changes_when_titlecased.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
:changes_when_titlecasedornil. For a string, the result is:changes_when_titlecasedonly if all codepoints in the string have the:changes_when_titlecasedproperty.
Returns a boolean indicating if the
codepoint or string has the property
:changes_when_titlecased.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
trueorfalse. For a string, the result istrueonly if all codepoints in the string have the:changes_when_titlecasedproperty.
Returns :changes_when_uppercased or nil indicating
if the codepoint or string has the property
:changes_when_uppercased.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
:changes_when_uppercasedornil. For a string, the result is:changes_when_uppercasedonly if all codepoints in the string have the:changes_when_uppercasedproperty.
Returns a boolean indicating if the
codepoint or string has the property
:changes_when_uppercased.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
trueorfalse. For a string, the result istrueonly if all codepoints in the string have the:changes_when_uppercasedproperty.
Returns the count of the number of characters for a given property.
Arguments
propertyis a property name as an atom.
Returns
- The number of codepoints that have the given property.
Examples
iex> Unicode.Property.count(:lowercase)
2595
Returns :dash or nil indicating
if the codepoint or string has the property
:dash.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
:dashornil. For a string, the result is:dashonly if all codepoints in the string have the:dashproperty.
Returns a boolean indicating if the
codepoint or string has the property
:dash.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
trueorfalse. For a string, the result istrueonly if all codepoints in the string have the:dashproperty.
Returns :default_ignorable_code_point or nil indicating
if the codepoint or string has the property
:default_ignorable_code_point.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
:default_ignorable_code_pointornil. For a string, the result is:default_ignorable_code_pointonly if all codepoints in the string have the:default_ignorable_code_pointproperty.
Returns a boolean indicating if the
codepoint or string has the property
:default_ignorable_code_point.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
trueorfalse. For a string, the result istrueonly if all codepoints in the string have the:default_ignorable_code_pointproperty.
Returns :deprecated or nil indicating
if the codepoint or string has the property
:deprecated.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
:deprecatedornil. For a string, the result is:deprecatedonly if all codepoints in the string have the:deprecatedproperty.
Returns a boolean indicating if the
codepoint or string has the property
:deprecated.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
trueorfalse. For a string, the result istrueonly if all codepoints in the string have the:deprecatedproperty.
Returns :diacritic or nil indicating
if the codepoint or string has the property
:diacritic.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
:diacriticornil. For a string, the result is:diacriticonly if all codepoints in the string have the:diacriticproperty.
Returns a boolean indicating if the
codepoint or string has the property
:diacritic.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
trueorfalse. For a string, the result istrueonly if all codepoints in the string have the:diacriticproperty.
Returns :emoji or nil indicating
if the codepoint or string has the property
:emoji.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
:emojiornil. For a string, the result is:emojionly if all codepoints in the string have the:emojiproperty.
Returns a boolean indicating if the
codepoint or string has the property
:emoji.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
trueorfalse. For a string, the result istrueonly if all codepoints in the string have the:emojiproperty.
Returns :emoji_component or nil indicating
if the codepoint or string has the property
:emoji_component.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
:emoji_componentornil. For a string, the result is:emoji_componentonly if all codepoints in the string have the:emoji_componentproperty.
Returns a boolean indicating if the
codepoint or string has the property
:emoji_component.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
trueorfalse. For a string, the result istrueonly if all codepoints in the string have the:emoji_componentproperty.
Returns :emoji_modifier or nil indicating
if the codepoint or string has the property
:emoji_modifier.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
:emoji_modifierornil. For a string, the result is:emoji_modifieronly if all codepoints in the string have the:emoji_modifierproperty.
Returns a boolean indicating if the
codepoint or string has the property
:emoji_modifier.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
trueorfalse. For a string, the result istrueonly if all codepoints in the string have the:emoji_modifierproperty.
Returns :emoji_modifier_base or nil indicating
if the codepoint or string has the property
:emoji_modifier_base.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
:emoji_modifier_baseornil. For a string, the result is:emoji_modifier_baseonly if all codepoints in the string have the:emoji_modifier_baseproperty.
Returns a boolean indicating if the
codepoint or string has the property
:emoji_modifier_base.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
trueorfalse. For a string, the result istrueonly if all codepoints in the string have the:emoji_modifier_baseproperty.
Returns :emoji_presentation or nil indicating
if the codepoint or string has the property
:emoji_presentation.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
:emoji_presentationornil. For a string, the result is:emoji_presentationonly if all codepoints in the string have the:emoji_presentationproperty.
Returns a boolean indicating if the
codepoint or string has the property
:emoji_presentation.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
trueorfalse. For a string, the result istrueonly if all codepoints in the string have the:emoji_presentationproperty.
Returns :extended_numeric or nil based upon
whether the given codepoint or binary
is all extended numeric characters.
Extended numeric includes fractions, superscripts,
subscripts and other characters in the category No.
This is useful when the desired result is
truthy or falsy.
Arguments
codepoint_or_binaryis a single integer codepoint or aString.t/0.
Returns
:extended_numericornil.
Examples
iex> Unicode.Property.extended_numeric "123"
:extended_numeric
iex> Unicode.Property.extended_numeric "⅔"
:extended_numeric
iex> Unicode.Property.extended_numeric "-123"
nil
Returns a boolean based upon whether the given codepoint or binary is all extended numeric characters.
Extended numeric includes fractions, superscripts,
subscripts and other characters in the category No.
Arguments
codepoint_or_binaryis a single integer codepoint or aString.t/0.
Returns
trueorfalse. For a string, the result istrueonly if all codepoints in the string are extended numeric.
Examples
iex> Unicode.Property.extended_numeric? "123"
true
iex> Unicode.Property.extended_numeric? "⅔"
true
Returns :extended_pictographic or nil indicating
if the codepoint or string has the property
:extended_pictographic.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
:extended_pictographicornil. For a string, the result is:extended_pictographiconly if all codepoints in the string have the:extended_pictographicproperty.
Returns a boolean indicating if the
codepoint or string has the property
:extended_pictographic.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
trueorfalse. For a string, the result istrueonly if all codepoints in the string have the:extended_pictographicproperty.
Returns :extender or nil indicating
if the codepoint or string has the property
:extender.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
:extenderornil. For a string, the result is:extenderonly if all codepoints in the string have the:extenderproperty.
Returns a boolean indicating if the
codepoint or string has the property
:extender.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
trueorfalse. For a string, the result istrueonly if all codepoints in the string have the:extenderproperty.
Returns the Unicode ranges for a given property as a list of ranges as 2-tuples.
Aliases are resolved by this function.
Arguments
propertyis a property name as a string or atom.
Returns
{:ok, range_list}or:errorif the property is not known.
Examples
iex> {:ok, ranges} = Unicode.Property.fetch(:alphabetic)
iex> Enum.take(ranges, 2)
[{65, 90}, {97, 122}]
iex> Unicode.Property.fetch(:not_a_property)
:error
Returns the Unicode ranges for a given property as a list of ranges as 2-tuples.
Aliases are resolved by this function.
Arguments
propertyis a property name as a string or atom.
Returns
range_listornilif the property is not known.
Examples
iex> Unicode.Property.get(:alphabetic) |> Enum.take(2)
[{65, 90}, {97, 122}]
iex> Unicode.Property.get(:not_a_property)
nil
Returns :grapheme_base or nil indicating
if the codepoint or string has the property
:grapheme_base.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
:grapheme_baseornil. For a string, the result is:grapheme_baseonly if all codepoints in the string have the:grapheme_baseproperty.
Returns a boolean indicating if the
codepoint or string has the property
:grapheme_base.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
trueorfalse. For a string, the result istrueonly if all codepoints in the string have the:grapheme_baseproperty.
Returns :grapheme_extend or nil indicating
if the codepoint or string has the property
:grapheme_extend.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
:grapheme_extendornil. For a string, the result is:grapheme_extendonly if all codepoints in the string have the:grapheme_extendproperty.
Returns a boolean indicating if the
codepoint or string has the property
:grapheme_extend.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
trueorfalse. For a string, the result istrueonly if all codepoints in the string have the:grapheme_extendproperty.
Returns :grapheme_link or nil indicating
if the codepoint or string has the property
:grapheme_link.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
:grapheme_linkornil. For a string, the result is:grapheme_linkonly if all codepoints in the string have the:grapheme_linkproperty.
Returns a boolean indicating if the
codepoint or string has the property
:grapheme_link.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
trueorfalse. For a string, the result istrueonly if all codepoints in the string have the:grapheme_linkproperty.
Returns :hex_digit or nil indicating
if the codepoint or string has the property
:hex_digit.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
:hex_digitornil. For a string, the result is:hex_digitonly if all codepoints in the string have the:hex_digitproperty.
Returns a boolean indicating if the
codepoint or string has the property
:hex_digit.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
trueorfalse. For a string, the result istrueonly if all codepoints in the string have the:hex_digitproperty.
Returns :hyphen or nil indicating
if the codepoint or string has the property
:hyphen.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
:hyphenornil. For a string, the result is:hyphenonly if all codepoints in the string have the:hyphenproperty.
Returns a boolean indicating if the
codepoint or string has the property
:hyphen.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
trueorfalse. For a string, the result istrueonly if all codepoints in the string have the:hyphenproperty.
Returns :id_compat_math_continue or nil indicating
if the codepoint or string has the property
:id_compat_math_continue.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
:id_compat_math_continueornil. For a string, the result is:id_compat_math_continueonly if all codepoints in the string have the:id_compat_math_continueproperty.
Returns a boolean indicating if the
codepoint or string has the property
:id_compat_math_continue.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
trueorfalse. For a string, the result istrueonly if all codepoints in the string have the:id_compat_math_continueproperty.
Returns :id_compat_math_start or nil indicating
if the codepoint or string has the property
:id_compat_math_start.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
:id_compat_math_startornil. For a string, the result is:id_compat_math_startonly if all codepoints in the string have the:id_compat_math_startproperty.
Returns a boolean indicating if the
codepoint or string has the property
:id_compat_math_start.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
trueorfalse. For a string, the result istrueonly if all codepoints in the string have the:id_compat_math_startproperty.
Returns :id_continue or nil indicating
if the codepoint or string has the property
:id_continue.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
:id_continueornil. For a string, the result is:id_continueonly if all codepoints in the string have the:id_continueproperty.
Returns a boolean indicating if the
codepoint or string has the property
:id_continue.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
trueorfalse. For a string, the result istrueonly if all codepoints in the string have the:id_continueproperty.
Returns :id_start or nil indicating
if the codepoint or string has the property
:id_start.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
:id_startornil. For a string, the result is:id_startonly if all codepoints in the string have the:id_startproperty.
Returns a boolean indicating if the
codepoint or string has the property
:id_start.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
trueorfalse. For a string, the result istrueonly if all codepoints in the string have the:id_startproperty.
Returns :ideographic or nil indicating
if the codepoint or string has the property
:ideographic.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
:ideographicornil. For a string, the result is:ideographiconly if all codepoints in the string have the:ideographicproperty.
Returns a boolean indicating if the
codepoint or string has the property
:ideographic.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
trueorfalse. For a string, the result istrueonly if all codepoints in the string have the:ideographicproperty.
Returns :ids_binary_operator or nil indicating
if the codepoint or string has the property
:ids_binary_operator.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
:ids_binary_operatorornil. For a string, the result is:ids_binary_operatoronly if all codepoints in the string have the:ids_binary_operatorproperty.
Returns a boolean indicating if the
codepoint or string has the property
:ids_binary_operator.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
trueorfalse. For a string, the result istrueonly if all codepoints in the string have the:ids_binary_operatorproperty.
Returns :ids_trinary_operator or nil indicating
if the codepoint or string has the property
:ids_trinary_operator.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
:ids_trinary_operatorornil. For a string, the result is:ids_trinary_operatoronly if all codepoints in the string have the:ids_trinary_operatorproperty.
Returns a boolean indicating if the
codepoint or string has the property
:ids_trinary_operator.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
trueorfalse. For a string, the result istrueonly if all codepoints in the string have the:ids_trinary_operatorproperty.
Returns :ids_unary_operator or nil indicating
if the codepoint or string has the property
:ids_unary_operator.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
:ids_unary_operatorornil. For a string, the result is:ids_unary_operatoronly if all codepoints in the string have the:ids_unary_operatorproperty.
Returns a boolean indicating if the
codepoint or string has the property
:ids_unary_operator.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
trueorfalse. For a string, the result istrueonly if all codepoints in the string have the:ids_unary_operatorproperty.
Returns :incb or nil indicating
if the codepoint or string has the property
:incb.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
:incbornil. For a string, the result is:incbonly if all codepoints in the string have the:incbproperty.
Returns a boolean indicating if the
codepoint or string has the property
:incb.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
trueorfalse. For a string, the result istrueonly if all codepoints in the string have the:incbproperty.
Returns :join_control or nil indicating
if the codepoint or string has the property
:join_control.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
:join_controlornil. For a string, the result is:join_controlonly if all codepoints in the string have the:join_controlproperty.
Returns a boolean indicating if the
codepoint or string has the property
:join_control.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
trueorfalse. For a string, the result istrueonly if all codepoints in the string have the:join_controlproperty.
Returns a list of known Unicode property names.
This function does not return the names of any property aliases.
Returns
- A list of atom property names.
Examples
iex> :alphabetic in Unicode.Property.known_properties()
true
Returns :logical_order_exception or nil indicating
if the codepoint or string has the property
:logical_order_exception.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
:logical_order_exceptionornil. For a string, the result is:logical_order_exceptiononly if all codepoints in the string have the:logical_order_exceptionproperty.
Returns a boolean indicating if the
codepoint or string has the property
:logical_order_exception.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
trueorfalse. For a string, the result istrueonly if all codepoints in the string have the:logical_order_exceptionproperty.
Returns :lowercase or nil indicating
if the codepoint or string has the property
:lowercase.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
:lowercaseornil. For a string, the result is:lowercaseonly if all codepoints in the string have the:lowercaseproperty.
Returns a boolean indicating if the
codepoint or string has the property
:lowercase.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
trueorfalse. For a string, the result istrueonly if all codepoints in the string have the:lowercaseproperty.
Returns :math or nil indicating
if the codepoint or string has the property
:math.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
:mathornil. For a string, the result is:mathonly if all codepoints in the string have the:mathproperty.
Returns a boolean indicating if the
codepoint or string has the property
:math.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
trueorfalse. For a string, the result istrueonly if all codepoints in the string have the:mathproperty.
Returns :modifier_combining_mark or nil indicating
if the codepoint or string has the property
:modifier_combining_mark.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
:modifier_combining_markornil. For a string, the result is:modifier_combining_markonly if all codepoints in the string have the:modifier_combining_markproperty.
Returns a boolean indicating if the
codepoint or string has the property
:modifier_combining_mark.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
trueorfalse. For a string, the result istrueonly if all codepoints in the string have the:modifier_combining_markproperty.
Returns :noncharacter_code_point or nil indicating
if the codepoint or string has the property
:noncharacter_code_point.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
:noncharacter_code_pointornil. For a string, the result is:noncharacter_code_pointonly if all codepoints in the string have the:noncharacter_code_pointproperty.
Returns a boolean indicating if the
codepoint or string has the property
:noncharacter_code_point.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
trueorfalse. For a string, the result istrueonly if all codepoints in the string have the:noncharacter_code_pointproperty.
Returns :numeric or nil based upon
whether the given codepoint or binary
is all numeric characters.
This is useful when the desired result is
truthy or falsy.
Arguments
codepoint_or_binaryis a single integer codepoint or aString.t/0.
Returns
:numericornil.
Examples
iex> Unicode.Property.numeric "123"
:numeric
iex> Unicode.Property.numeric "123a"
nil
Returns a boolean based upon whether the given codepoint or binary is all numeric characters.
Arguments
codepoint_or_binaryis a single integer codepoint or aString.t/0.
Returns
trueorfalse. For a string, the result istrueonly if all codepoints in the string are numeric.
Examples
iex> Unicode.Property.numeric? "123"
true
iex> Unicode.Property.numeric? "123a"
false
Returns :other_alphabetic or nil indicating
if the codepoint or string has the property
:other_alphabetic.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
:other_alphabeticornil. For a string, the result is:other_alphabeticonly if all codepoints in the string have the:other_alphabeticproperty.
Returns a boolean indicating if the
codepoint or string has the property
:other_alphabetic.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
trueorfalse. For a string, the result istrueonly if all codepoints in the string have the:other_alphabeticproperty.
Returns :other_default_ignorable_code_point or nil indicating
if the codepoint or string has the property
:other_default_ignorable_code_point.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
:other_default_ignorable_code_pointornil. For a string, the result is:other_default_ignorable_code_pointonly if all codepoints in the string have the:other_default_ignorable_code_pointproperty.
Returns a boolean indicating if the
codepoint or string has the property
:other_default_ignorable_code_point.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
trueorfalse. For a string, the result istrueonly if all codepoints in the string have the:other_default_ignorable_code_pointproperty.
Returns :other_grapheme_extend or nil indicating
if the codepoint or string has the property
:other_grapheme_extend.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
:other_grapheme_extendornil. For a string, the result is:other_grapheme_extendonly if all codepoints in the string have the:other_grapheme_extendproperty.
Returns a boolean indicating if the
codepoint or string has the property
:other_grapheme_extend.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
trueorfalse. For a string, the result istrueonly if all codepoints in the string have the:other_grapheme_extendproperty.
Returns :other_id_continue or nil indicating
if the codepoint or string has the property
:other_id_continue.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
:other_id_continueornil. For a string, the result is:other_id_continueonly if all codepoints in the string have the:other_id_continueproperty.
Returns a boolean indicating if the
codepoint or string has the property
:other_id_continue.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
trueorfalse. For a string, the result istrueonly if all codepoints in the string have the:other_id_continueproperty.
Returns :other_id_start or nil indicating
if the codepoint or string has the property
:other_id_start.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
:other_id_startornil. For a string, the result is:other_id_startonly if all codepoints in the string have the:other_id_startproperty.
Returns a boolean indicating if the
codepoint or string has the property
:other_id_start.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
trueorfalse. For a string, the result istrueonly if all codepoints in the string have the:other_id_startproperty.
Returns :other_lowercase or nil indicating
if the codepoint or string has the property
:other_lowercase.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
:other_lowercaseornil. For a string, the result is:other_lowercaseonly if all codepoints in the string have the:other_lowercaseproperty.
Returns a boolean indicating if the
codepoint or string has the property
:other_lowercase.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
trueorfalse. For a string, the result istrueonly if all codepoints in the string have the:other_lowercaseproperty.
Returns :other_math or nil indicating
if the codepoint or string has the property
:other_math.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
:other_mathornil. For a string, the result is:other_mathonly if all codepoints in the string have the:other_mathproperty.
Returns a boolean indicating if the
codepoint or string has the property
:other_math.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
trueorfalse. For a string, the result istrueonly if all codepoints in the string have the:other_mathproperty.
Returns :other_uppercase or nil indicating
if the codepoint or string has the property
:other_uppercase.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
:other_uppercaseornil. For a string, the result is:other_uppercaseonly if all codepoints in the string have the:other_uppercaseproperty.
Returns a boolean indicating if the
codepoint or string has the property
:other_uppercase.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
trueorfalse. For a string, the result istrueonly if all codepoints in the string have the:other_uppercaseproperty.
Returns :pattern_syntax or nil indicating
if the codepoint or string has the property
:pattern_syntax.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
:pattern_syntaxornil. For a string, the result is:pattern_syntaxonly if all codepoints in the string have the:pattern_syntaxproperty.
Returns a boolean indicating if the
codepoint or string has the property
:pattern_syntax.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
trueorfalse. For a string, the result istrueonly if all codepoints in the string have the:pattern_syntaxproperty.
Returns :pattern_white_space or nil indicating
if the codepoint or string has the property
:pattern_white_space.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
:pattern_white_spaceornil. For a string, the result is:pattern_white_spaceonly if all codepoints in the string have the:pattern_white_spaceproperty.
Returns a boolean indicating if the
codepoint or string has the property
:pattern_white_space.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
trueorfalse. For a string, the result istrueonly if all codepoints in the string have the:pattern_white_spaceproperty.
Returns :prepended_concatenation_mark or nil indicating
if the codepoint or string has the property
:prepended_concatenation_mark.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
:prepended_concatenation_markornil. For a string, the result is:prepended_concatenation_markonly if all codepoints in the string have the:prepended_concatenation_markproperty.
Returns a boolean indicating if the
codepoint or string has the property
:prepended_concatenation_mark.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
trueorfalse. For a string, the result istrueonly if all codepoints in the string have the:prepended_concatenation_markproperty.
Returns the map of Unicode properties.
The property name is the map key and a list of codepoint ranges as tuples as the value.
Returns
- A map of property names to a list of codepoint ranges.
Examples
iex> Unicode.Property.properties() |> Map.get(:alphabetic) |> Enum.take(2)
[{65, 90}, {97, 122}]
@spec properties(string_or_codepoint()) :: [atom(), ...] | [[atom(), ...], ...]
Returns the property name(s) for the given binary or codepoint.
Arguments
codepointis a single integer codepoint or aString.t/0.
Returns
In the case of a codepoint, a single list of the properties of that codepoint.
In the case of a binary, a list of property lists, one for each codepoint in the binary.
Examples
iex> Unicode.Property.properties(?A)
[
:alphabetic,
:ascii_hex_digit,
:cased,
:changes_when_casefolded,
:changes_when_casemapped,
:changes_when_lowercased,
:grapheme_base,
:hex_digit,
:id_continue,
:id_start,
:uppercase,
:xid_continue,
:xid_start
]
Returns :quotation_mark or nil indicating
if the codepoint or string has the property
:quotation_mark.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
:quotation_markornil. For a string, the result is:quotation_markonly if all codepoints in the string have the:quotation_markproperty.
Returns a boolean indicating if the
codepoint or string has the property
:quotation_mark.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
trueorfalse. For a string, the result istrueonly if all codepoints in the string have the:quotation_markproperty.
Returns :radical or nil indicating
if the codepoint or string has the property
:radical.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
:radicalornil. For a string, the result is:radicalonly if all codepoints in the string have the:radicalproperty.
Returns a boolean indicating if the
codepoint or string has the property
:radical.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
trueorfalse. For a string, the result istrueonly if all codepoints in the string have the:radicalproperty.
Returns :regional_indicator or nil indicating
if the codepoint or string has the property
:regional_indicator.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
:regional_indicatorornil. For a string, the result is:regional_indicatoronly if all codepoints in the string have the:regional_indicatorproperty.
Returns a boolean indicating if the
codepoint or string has the property
:regional_indicator.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
trueorfalse. For a string, the result istrueonly if all codepoints in the string have the:regional_indicatorproperty.
Returns :sentence_terminal or nil indicating
if the codepoint or string has the property
:sentence_terminal.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
:sentence_terminalornil. For a string, the result is:sentence_terminalonly if all codepoints in the string have the:sentence_terminalproperty.
Returns a boolean indicating if the
codepoint or string has the property
:sentence_terminal.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
trueorfalse. For a string, the result istrueonly if all codepoints in the string have the:sentence_terminalproperty.
Returns a map of properties to the module that serves that property.
Returns
- A map of property names to the module that serves that property.
Examples
iex> Unicode.Property.servers() |> Map.get("script")
Unicode.Script
Returns :soft_dotted or nil indicating
if the codepoint or string has the property
:soft_dotted.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
:soft_dottedornil. For a string, the result is:soft_dottedonly if all codepoints in the string have the:soft_dottedproperty.
Returns a boolean indicating if the
codepoint or string has the property
:soft_dotted.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
trueorfalse. For a string, the result istrueonly if all codepoints in the string have the:soft_dottedproperty.
Returns :terminal_punctuation or nil indicating
if the codepoint or string has the property
:terminal_punctuation.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
:terminal_punctuationornil. For a string, the result is:terminal_punctuationonly if all codepoints in the string have the:terminal_punctuationproperty.
Returns a boolean indicating if the
codepoint or string has the property
:terminal_punctuation.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
trueorfalse. For a string, the result istrueonly if all codepoints in the string have the:terminal_punctuationproperty.
Returns :unified_ideograph or nil indicating
if the codepoint or string has the property
:unified_ideograph.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
:unified_ideographornil. For a string, the result is:unified_ideographonly if all codepoints in the string have the:unified_ideographproperty.
Returns a boolean indicating if the
codepoint or string has the property
:unified_ideograph.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
trueorfalse. For a string, the result istrueonly if all codepoints in the string have the:unified_ideographproperty.
Returns :uppercase or nil indicating
if the codepoint or string has the property
:uppercase.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
:uppercaseornil. For a string, the result is:uppercaseonly if all codepoints in the string have the:uppercaseproperty.
Returns a boolean indicating if the
codepoint or string has the property
:uppercase.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
trueorfalse. For a string, the result istrueonly if all codepoints in the string have the:uppercaseproperty.
Returns :variation_selector or nil indicating
if the codepoint or string has the property
:variation_selector.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
:variation_selectorornil. For a string, the result is:variation_selectoronly if all codepoints in the string have the:variation_selectorproperty.
Returns a boolean indicating if the
codepoint or string has the property
:variation_selector.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
trueorfalse. For a string, the result istrueonly if all codepoints in the string have the:variation_selectorproperty.
Returns :white_space or nil indicating
if the codepoint or string has the property
:white_space.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
:white_spaceornil. For a string, the result is:white_spaceonly if all codepoints in the string have the:white_spaceproperty.
Returns a boolean indicating if the
codepoint or string has the property
:white_space.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
trueorfalse. For a string, the result istrueonly if all codepoints in the string have the:white_spaceproperty.
Returns :xid_continue or nil indicating
if the codepoint or string has the property
:xid_continue.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
:xid_continueornil. For a string, the result is:xid_continueonly if all codepoints in the string have the:xid_continueproperty.
Returns a boolean indicating if the
codepoint or string has the property
:xid_continue.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
trueorfalse. For a string, the result istrueonly if all codepoints in the string have the:xid_continueproperty.
Returns :xid_start or nil indicating
if the codepoint or string has the property
:xid_start.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
:xid_startornil. For a string, the result is:xid_startonly if all codepoints in the string have the:xid_startproperty.
Returns a boolean indicating if the
codepoint or string has the property
:xid_start.
Arguments
codepoint_or_stringis a single integer codepoint or aString.t/0.
Returns
trueorfalse. For a string, the result istrueonly if all codepoints in the string have the:xid_startproperty.