types.is_list

Returns True if v is an instance of a list.

PARAMETERS

NameDescriptionDefault Value
vThe value whose type should be checked.none

types.is_string

Returns True if v is an instance of a string.

PARAMETERS

NameDescriptionDefault Value
vThe value whose type should be checked.none

types.is_bool

Returns True if v is an instance of a bool.

PARAMETERS

NameDescriptionDefault Value
vThe value whose type should be checked.none

types.is_none

Returns True if v has the type of None.

PARAMETERS

NameDescriptionDefault Value
vThe value whose type should be checked.none

types.is_int

Returns True if v is an instance of a signed integer.

PARAMETERS

NameDescriptionDefault Value
vThe value whose type should be checked.none

types.is_tuple

Returns True if v is an instance of a tuple.

PARAMETERS

NameDescriptionDefault Value
vThe value whose type should be checked.none

types.is_dict

Returns True if v is an instance of a dict.

PARAMETERS

NameDescriptionDefault Value
vThe value whose type should be checked.none

types.is_function

Returns True if v is an instance of a function.

PARAMETERS

NameDescriptionDefault Value
vThe value whose type should be checked.none

types.is_depset

Returns True if v is an instance of a depset.

PARAMETERS

NameDescriptionDefault Value
vThe value whose type should be checked.none

types.is_set

Returns True if v is a set created by sets.make().

PARAMETERS

NameDescriptionDefault Value
vThe value whose type should be checked.none