Wolfram Language & System 10.3 (2015)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)

AnySubset

AnySubset[{c1,c2,}]
represents an element in an interpreter or form that accepts any subset of the choices .

AnySubset[{lab1c1,lab2c2,}]
accepts any subset of the , yielding the corresponding as results.

AnySubset[EntityClass["type","class"]]
accepts any subset of the entities in the specified entity class.

AnySubset[choices,max]
allows at most max choices to be selected.

AnySubset[choices,{min,max}]
allows at least min and at most max choices to be selected.

DetailsDetails

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

Use AnySubset to specify a form field where more than one choice can be selected at the same time:

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

Use AnySubset in Interpreter to validate lists of inputs:

In[1]:=
Click for copyable input
Out[1]=
Introduced in 2015
(10.1)