Skip To Content

If Data Type Is

Summary

Evaluates if the input data matches the specified data type.

Learn how If Data Type Is works in ModelBuilder

Usage

  • This tool is intended for use in ModelBuilder and 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 false after the tool runs. These boolean outputs have to be set as a precondition to the downstream tools for those to execute if either of the preconditions is true.

Syntax

DataTypeIfThenElse_mb (in_data, data_type)
ParameterExplanationData Type
in_data

Input data element to be evaluated.

Data Element
data_type
[data_type,...]

The data type to evaluate against.

String

Environments

This tool does not use any geoprocessing environments.

Licensing information

  • ArcGIS Desktop Basic: Yes
  • ArcGIS Desktop Standard: Yes
  • ArcGIS Desktop Advanced: Yes