type#

swordfish.function.type()#

Return an integer indicating the data type of X. Please refer to Data Types for details.

Parameters:

obj (Constant) – Can be any data type that the system supports.

Returns:

An integer.

Return type:

Constant