"PhoneNumber" (Interpreter Type)

An international phone number.

Details

Allowed Forms

  • International phone numbers.

Restriction Specifications

Interpretation

Examples

Basic Examples  (3)

Interpret phone numbers:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Restrict to a country:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

If no prefix is given, the user's $GeoLocation is used to imply it:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Related Interpreters

See Also

Interpreter  Restricted  Failure  Entity  EntityValue  $GeoLocation