Is Data Type
Overview
![](https://docs.incari.com/~gitbook/image?url=https%3A%2F%2F2561100106-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Ff6JZovzOqBctA4C1o76u%252Fuploads%252Fgit-blob-a25bde186d9ff5ef5157c5c9f093efd6f1c3cad6%252Fisfloattypeupdatedimage.png%3Falt%3Dmedia&width=768&dpr=4&quality=100&sign=6f091505&sv=1)
The Is Data Type Node returns true or false depending on whether or not the input matches the Data Type
.
Scope: Project, Scene, Function.
Attributes
![](https://docs.incari.com/~gitbook/image?url=https%3A%2F%2F2561100106-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Ff6JZovzOqBctA4C1o76u%252Fuploads%252Fgit-blob-49b5ddc4b66c8952ed4ec90943df578665697edf%252Fnode-is-float-type2-attr.png%3Falt%3Dmedia&width=768&dpr=4&quality=100&sign=c396e527&sv=1)
Attribute | Type | Description |
---|---|---|
| Dropdown | The Data Type to compare the input type with. The Node name matches the |
Inputs
Input | Type | Description |
---|---|---|
Pulse Input (►) | Pulse | A standard Input Pulse, to trigger the execution of the Node. |
| Any | The input |
Outputs
Output | Type | Description |
---|---|---|
Pulse Output (►) | Pulse | A standard Output Pulse, to move onto the next Node along the Logic Branch, once this Node has finished its execution. |
| Bool | Returns true or false depending on whether or not the input matches the |
Example Usage
![](https://docs.incari.com/~gitbook/image?url=https%3A%2F%2F2561100106-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Ff6JZovzOqBctA4C1o76u%252Fuploads%252Fgit-blob-8090f2a4b6d3f00a4d8ebd4f6c65523f182dede5%252Fisdatatypeexample.png%3Falt%3Dmedia&width=768&dpr=4&quality=100&sign=b99c509f&sv=1)
The Is Data Type Node is useful for checking for correct Data Types
from other sources, such as a parsed JSON file. In the above image, a Float is converted into the generic Any Data Type
, to prove that it is indeed a Float. The resulting output will confirm that the Data Type
matches the expected Data Type
and flow to OnTrue
for additional actions.
Last updated