clc list
clc list add
Add a value in the given list.
Usage:
Parameters:
Parameter | Required | Description | Default |
---|---|---|---|
|
Optional |
Name of the list. |
|
|
Required |
Value to set for the key. |
N/A |
|
Optional |
Data type of the value. One of: |
String |
|
Optional |
Index for the value |
N/A |
Example:
clc list contains
Check if the value is present in the list.
Usage:
Parameters:
Parameter | Required | Description | Default |
---|---|---|---|
|
Optional |
Name of the list. |
|
|
Required |
Value to set for the key. |
N/A |
|
Optional |
Data type of the value. One of: |
String |
Example:
clc list remove-value
Remove a value from the list.
Usage:
Parameters:
Parameter | Required | Description | Default |
---|---|---|---|
|
Optional |
Name of the list. |
|
|
Required |
Value to set for the key. |
N/A |
|
Optional |
Data type of the value. One of: |
String |
Example:
clc list remove-index
Remove the value at given index from the list.
Usage:
Parameters:
Parameter | Required | Description | Default |
---|---|---|---|
|
Optional |
Name of the list. |
|
|
Required |
Index for the value |
N/A |
Example:
clc list set
Set a value at the given index in the list.
Usage:
Parameters:
Parameter | Required | Description | Default |
---|---|---|---|
|
Optional |
Name of the list. |
|
|
Required |
Index for the value |
N/A |
|
Required |
Value to set for the key. |
N/A |
|
Optional |
Data type of the value. One of: |
String |
Example: