"USState" (interpreter type)

Natural-language name of a US state.

DetailsDetails

  • "USState" can be used in Interpreter and related constructs, including deployed smart form fields.
  • Use of "USState" requires connectivity to the Wolfram Cloud.

Allowed FormsAllowed Forms

  • Any natural-language name of a US state.
  • CaliforniaUS state names
    ILUS state abbreviations
    the peach stateUS state nicknames

Restriction SpecificationsRestriction Specifications

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

Interpret US states:

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

Restrict to US states in a class:

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