1 min read

Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.

TriStateBoolean

A three-state boolean that extends a standard boolean with TriStateBoolean.Unknown for values not yet determined. Used by PolicyService for region-specific platform states that may be unknown before policy queries complete. Defaults to TriStateBoolean.Unknown until explicitly set.

Items

NameValueDescription
Unknown0Indicates the condition has not yet been determined or resolved; the default value.
True1Indicates the condition is explicitly true.
False2Indicates the condition is explicitly false.

Unknown

Indicates the condition has not yet been determined or resolved; the default value.

FieldValue
value0

True

Indicates the condition is explicitly true.

FieldValue
value1

False

Indicates the condition is explicitly false.

FieldValue
value2