2021-09-24 15:24:43 +00:00
|
|
|
<!-- Generated with Stardoc: http://skydoc.bazel.build -->
|
|
|
|
|
|
|
|
<a name="#types.is_list"></a>
|
|
|
|
|
2019-02-28 22:43:57 +00:00
|
|
|
## types.is_list
|
|
|
|
|
|
|
|
<pre>
|
|
|
|
types.is_list(<a href="#types.is_list-v">v</a>)
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
Returns True if v is an instance of a list.
|
|
|
|
|
2021-09-24 15:24:43 +00:00
|
|
|
**PARAMETERS**
|
|
|
|
|
|
|
|
|
|
|
|
| Name | Description | Default Value |
|
|
|
|
| :-------------: | :-------------: | :-------------: |
|
|
|
|
| v | The value whose type should be checked. | none |
|
|
|
|
|
2019-02-28 22:43:57 +00:00
|
|
|
|
2021-09-24 15:24:43 +00:00
|
|
|
<a name="#types.is_string"></a>
|
2019-02-28 22:43:57 +00:00
|
|
|
|
|
|
|
## types.is_string
|
|
|
|
|
|
|
|
<pre>
|
|
|
|
types.is_string(<a href="#types.is_string-v">v</a>)
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
Returns True if v is an instance of a string.
|
|
|
|
|
2021-09-24 15:24:43 +00:00
|
|
|
**PARAMETERS**
|
2019-02-28 22:43:57 +00:00
|
|
|
|
|
|
|
|
2021-09-24 15:24:43 +00:00
|
|
|
| Name | Description | Default Value |
|
|
|
|
| :-------------: | :-------------: | :-------------: |
|
|
|
|
| v | The value whose type should be checked. | none |
|
|
|
|
|
|
|
|
|
|
|
|
<a name="#types.is_bool"></a>
|
|
|
|
|
2019-02-28 22:43:57 +00:00
|
|
|
## types.is_bool
|
|
|
|
|
|
|
|
<pre>
|
|
|
|
types.is_bool(<a href="#types.is_bool-v">v</a>)
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
Returns True if v is an instance of a bool.
|
|
|
|
|
2021-09-24 15:24:43 +00:00
|
|
|
**PARAMETERS**
|
|
|
|
|
|
|
|
|
|
|
|
| Name | Description | Default Value |
|
|
|
|
| :-------------: | :-------------: | :-------------: |
|
|
|
|
| v | The value whose type should be checked. | none |
|
2019-02-28 22:43:57 +00:00
|
|
|
|
|
|
|
|
2021-09-24 15:24:43 +00:00
|
|
|
<a name="#types.is_none"></a>
|
|
|
|
|
2019-02-28 22:43:57 +00:00
|
|
|
## types.is_none
|
|
|
|
|
|
|
|
<pre>
|
|
|
|
types.is_none(<a href="#types.is_none-v">v</a>)
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
Returns True if v has the type of None.
|
|
|
|
|
2021-09-24 15:24:43 +00:00
|
|
|
**PARAMETERS**
|
|
|
|
|
|
|
|
|
|
|
|
| Name | Description | Default Value |
|
|
|
|
| :-------------: | :-------------: | :-------------: |
|
|
|
|
| v | The value whose type should be checked. | none |
|
2019-02-28 22:43:57 +00:00
|
|
|
|
|
|
|
|
2021-09-24 15:24:43 +00:00
|
|
|
<a name="#types.is_int"></a>
|
|
|
|
|
2019-02-28 22:43:57 +00:00
|
|
|
## types.is_int
|
|
|
|
|
|
|
|
<pre>
|
|
|
|
types.is_int(<a href="#types.is_int-v">v</a>)
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
Returns True if v is an instance of a signed integer.
|
|
|
|
|
2021-09-24 15:24:43 +00:00
|
|
|
**PARAMETERS**
|
|
|
|
|
2019-02-28 22:43:57 +00:00
|
|
|
|
2021-09-24 15:24:43 +00:00
|
|
|
| Name | Description | Default Value |
|
|
|
|
| :-------------: | :-------------: | :-------------: |
|
|
|
|
| v | The value whose type should be checked. | none |
|
|
|
|
|
|
|
|
|
|
|
|
<a name="#types.is_tuple"></a>
|
2019-02-28 22:43:57 +00:00
|
|
|
|
|
|
|
## types.is_tuple
|
|
|
|
|
|
|
|
<pre>
|
|
|
|
types.is_tuple(<a href="#types.is_tuple-v">v</a>)
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
Returns True if v is an instance of a tuple.
|
|
|
|
|
2021-09-24 15:24:43 +00:00
|
|
|
**PARAMETERS**
|
|
|
|
|
|
|
|
|
|
|
|
| Name | Description | Default Value |
|
|
|
|
| :-------------: | :-------------: | :-------------: |
|
|
|
|
| v | The value whose type should be checked. | none |
|
2019-02-28 22:43:57 +00:00
|
|
|
|
|
|
|
|
2021-09-24 15:24:43 +00:00
|
|
|
<a name="#types.is_dict"></a>
|
|
|
|
|
2019-02-28 22:43:57 +00:00
|
|
|
## types.is_dict
|
|
|
|
|
|
|
|
<pre>
|
|
|
|
types.is_dict(<a href="#types.is_dict-v">v</a>)
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
Returns True if v is an instance of a dict.
|
|
|
|
|
2021-09-24 15:24:43 +00:00
|
|
|
**PARAMETERS**
|
|
|
|
|
|
|
|
|
|
|
|
| Name | Description | Default Value |
|
|
|
|
| :-------------: | :-------------: | :-------------: |
|
|
|
|
| v | The value whose type should be checked. | none |
|
2019-02-28 22:43:57 +00:00
|
|
|
|
|
|
|
|
2021-09-24 15:24:43 +00:00
|
|
|
<a name="#types.is_function"></a>
|
|
|
|
|
2019-02-28 22:43:57 +00:00
|
|
|
## types.is_function
|
|
|
|
|
|
|
|
<pre>
|
|
|
|
types.is_function(<a href="#types.is_function-v">v</a>)
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
Returns True if v is an instance of a function.
|
|
|
|
|
2021-09-24 15:24:43 +00:00
|
|
|
**PARAMETERS**
|
|
|
|
|
2019-02-28 22:43:57 +00:00
|
|
|
|
2021-09-24 15:24:43 +00:00
|
|
|
| Name | Description | Default Value |
|
|
|
|
| :-------------: | :-------------: | :-------------: |
|
|
|
|
| v | The value whose type should be checked. | none |
|
|
|
|
|
|
|
|
|
|
|
|
<a name="#types.is_depset"></a>
|
2019-02-28 22:43:57 +00:00
|
|
|
|
|
|
|
## types.is_depset
|
|
|
|
|
|
|
|
<pre>
|
|
|
|
types.is_depset(<a href="#types.is_depset-v">v</a>)
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
Returns True if v is an instance of a `depset`.
|
|
|
|
|
2021-09-24 15:24:43 +00:00
|
|
|
**PARAMETERS**
|
|
|
|
|
|
|
|
|
|
|
|
| Name | Description | Default Value |
|
|
|
|
| :-------------: | :-------------: | :-------------: |
|
|
|
|
| v | The value whose type should be checked. | none |
|
|
|
|
|
|
|
|
|
|
|
|
<a name="#types.is_set"></a>
|
|
|
|
|
|
|
|
## types.is_set
|
|
|
|
|
|
|
|
<pre>
|
|
|
|
types.is_set(<a href="#types.is_set-v">v</a>)
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
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 |
|
2019-02-28 22:43:57 +00:00
|
|
|
|
|
|
|
|