4.3 KiB
Executable file
types.is_list
types.is_list(v)
Returns True if v is an instance of a list.
Parameters
v |
required.
The value whose type should be checked. |
types.is_string
types.is_string(v)
Returns True if v is an instance of a string.
Parameters
v |
required.
The value whose type should be checked. |
types.is_bool
types.is_bool(v)
Returns True if v is an instance of a bool.
Parameters
v |
required.
The value whose type should be checked. |
types.is_none
types.is_none(v)
Returns True if v has the type of None.
Parameters
v |
required.
The value whose type should be checked. |
types.is_int
types.is_int(v)
Returns True if v is an instance of a signed integer.
Parameters
v |
required.
The value whose type should be checked. |
types.is_tuple
types.is_tuple(v)
Returns True if v is an instance of a tuple.
Parameters
v |
required.
The value whose type should be checked. |
types.is_dict
types.is_dict(v)
Returns True if v is an instance of a dict.
Parameters
v |
required.
The value whose type should be checked. |
types.is_function
types.is_function(v)
Returns True if v is an instance of a function.
Parameters
v |
required.
The value whose type should be checked. |
types.is_depset
types.is_depset(v)
Returns True if v is an instance of a depset
.
Parameters
v |
required.
The value whose type should be checked. |