Skylib module containing functions checking types.
Returns True if v is an instance of a list.
PARAMETERS
Name | Description | Default Value |
---|---|---|
v | The value whose type should be checked. | none |
RETURNS
True if v is an instance of a list, False otherwise.
Returns True if v is an instance of a string.
PARAMETERS
Name | Description | Default Value |
---|---|---|
v | The value whose type should be checked. | none |
RETURNS
True if v is an instance of a string, False otherwise.
Returns True if v is an instance of a bool.
PARAMETERS
Name | Description | Default Value |
---|---|---|
v | The value whose type should be checked. | none |
RETURNS
True if v is an instance of a bool, False otherwise.
Returns True if v has the type of None.
PARAMETERS
Name | Description | Default Value |
---|---|---|
v | The value whose type should be checked. | none |
RETURNS
True if v is None, False otherwise.
Returns True if v is an instance of a signed integer.
PARAMETERS
Name | Description | Default Value |
---|---|---|
v | The value whose type should be checked. | none |
RETURNS
True if v is an instance of a signed integer, False otherwise.
Returns True if v is an instance of a tuple.
PARAMETERS
Name | Description | Default Value |
---|---|---|
v | The value whose type should be checked. | none |
RETURNS
True if v is an instance of a tuple, False otherwise.
Returns True if v is an instance of a dict.
PARAMETERS
Name | Description | Default Value |
---|---|---|
v | The value whose type should be checked. | none |
RETURNS
True if v is an instance of a dict, False otherwise.
Returns True if v is an instance of a function.
PARAMETERS
Name | Description | Default Value |
---|---|---|
v | The value whose type should be checked. | none |
RETURNS
True if v is an instance of a function, False otherwise.
Returns True if v is an instance of a depset
.
PARAMETERS
Name | Description | Default Value |
---|---|---|
v | The value whose type should be checked. | none |
RETURNS
True if v is an instance of a depset
, False otherwise.
Returns True if v is a set created by sets.make().
PARAMETERS
Name | Description | Default Value |
---|---|---|
v | The value whose type should be checked. | none |
RETURNS
True if v was created by sets.make(), False otherwise.