isboolean - Determine whether numeric type represents the Boolean data type
boolean - MATLAB ([original](https://in.mathworks.com/help/simulink/slref/simulink.numerictype.isboolean.html)) ([raw](?raw))
Main Content
Determine whether numeric type represents the Boolean data typeboolean
Syntax
Description
[indication](#d126e746875) = isboolean([numericType](#d126e746849))
returns 1
(true
) if theSimulink.NumericType
object numericType
represents the Boolean data type boolean
and 0
(false
) otherwise.
In Simulink®, a Simulink.NumericType
object represents a data type that you can share between different data items in a model. For more information, see Simulink.NumericType.
Input Arguments
Target numeric type, specified as a Simulink.NumericType
object.
Output Arguments
Indication of whether the target object representsboolean
, returned as 1
(true
) or 0
(false).
Version History
Introduced in R2010b