Bool¶
-
class
props.
Bool
¶
Boolean prop
This is a type of props.Prop that can be used when a props.HasProps class needs a boolean property.
Attributes - No properties besides those inherited from props.Prop
Example:
...
class HasBoolProp < props.HasProps
properties (Hidden, SetAccess = immutable)
BoolPropStruct = { ...
struct( ...
'Name', 'IsSomething', ...
'Type', @props.Bool, ...
'Doc', 'Is it something?', ...
'DefaultValue', true ...
) ...
}
end
...
end
See also props.Prop, props.HasProps, props.Int