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