1. 首页
  2. 文档
  3. Judge data type

白皮书下载

实在智能Agent产品白皮书(7.2.0).pdf

Judge data type

发刊日期:
2021/10/15

编辑团队:
实在学院

1、 Video example

 

2、 Function description

Judge whether a data belongs to the corresponding data type, and assign the judgment result to a variable to facilitate subsequent business judgment operations; The data types to be judged are: numeric type, null value, array and dictionary, as shown below:

 

3、 Attribute description

Output to variable: receive the return value for judging the data type.

Data to be judged: target data used for judgment.

Data type to convert: drop down option, used to judge whether the data to be judged belongs to a certain type;

 

4、 Use example

After adding components, set relevant parameters in the right attribute area, as shown in the following figure:

 

The data to be judged is assigned the number 123, and the data type to be converted is: whether it is a numerical type. Because 123 belongs to a numerical type, the print variable boolret is true (true).

 

 

企业培训
技术支持
加入社群
公众号
实在智能Agent学习群
扫码关注微信公众号