Int¶
-
class
props.
Int
¶
Integer prop
This is a type of props.Prop that can be used when a props.HasProps class needs an integer property.
Attributes - No properties besides those inherited from props.Float
Example:
...
class HasIntProp < props.HasProps
properties (Hidden, SetAccess = immutable)
IntPropStruct = { ...
struct( ...
'Name', 'Int0to10', ...
'Type', @props.Int, ...
'Doc', 'An integer between 0 and 10', ...
'MinValue', 0, ...
'MaxValue', 10 ...
) ...
}
end
...
end
See also props.Prop, props.HasProps, props.Float, props.Array, props.Bool