Link to tristate
Represents a value that can assume three values, instead of a simple boolean that can only assume two values.
Link to 导入类
It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.
Link to extending-enumtristate
Link to static-properties
描述The false value of the TriState. <br /> <br /> It can be considered the same as a boolean's 'false' value.
描述The true value of the TriState. <br /> <br /> It can be considered the same as a boolean's 'true' value.
描述The unset value of the TriState. <br /> <br /> It represents the lack of a state or a decision that hasn't been made yet.