Summary
Evaluates if the input data matches the specified data type.
Usage
This tool is intended for use in ModelBuilder, not in Python scripting.
The tool has two Boolean outputs, True and False. Based on the condition being evaluated, one of the two Boolean outputs is true and the other is false after the tool runs. These Boolean outputs must be set as a precondition to the downstream tools for those to execute if either of the preconditions is true.
Syntax
arcpy.mb.DataTypeIfThenElse(in_data, data_type)
Parameter | Explanation | Data Type |
in_data | The input data element to be evaluated. | Data Element; Layer; Table View; Graph; Utility Network |
data_type [data_type,...] | Specifies the data type to evaluate against.
| String |
Derived Output
Name | Explanation | Data Type |
true | If the specified criteria evaluates to True, this parameter will be set to True. | Boolean |
false | If the specified criteria evaluates to False, this parameter will be set to True. | Boolean |
Environments
This tool does not use any geoprocessing environments.
Licensing information
- Basic: Yes
- Standard: Yes
- Advanced: Yes