Skip to main content

TrueFalseOnly

Defined in: types/TrueFalseOnly.ts:14

Enum for controlling filtering of items in collections based on a boolean-like property.

Remarks

Used by collection classes to specify whether to include all items, only items with the property set, or only items without it.

Example

collection.getItems(TrueFalseOnly.True); // All items
collection.getItems(TrueFalseOnly.Only); // Only items with the property set
collection.getItems(TrueFalseOnly.False); // Only items without the property set

Enumeration Members

False

False: "false";

Defined in: types/TrueFalseOnly.ts:18

Include only items where the property is not set.


Only

Only: "only";

Defined in: types/TrueFalseOnly.ts:20

Include only items where the property is set.


True

True: "true";

Defined in: types/TrueFalseOnly.ts:16

Include all items, regardless of the property state.