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

白皮书下载

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

Judge data type value

发刊日期:
2021/10/15

编辑团队:
实在学院

1、 Video example

To be launched.

 

2、 Function description

Judge the type of variable and return the type name, such as int (integer), float (floating point), string (string), bool (Boolean), null (null character), array (array), Dictionary (Dictionary), function (function), object (object).

 

3、 Attribute description

Output to variable: receive variables that determine the return value type of variables.

Judgment variable: the variable or value to be judged.

 

 4、 Use example

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

First define the variable vardata and assign 123 (number), then save the variable return value to the variable strret by judging the data type value component, and finally print the type of strret:

 

 Because we assign a number, we print: int (integer); You can also assign other values to see the returned type;

 

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