Twidget offers a variety of commands to help you manipulate lists easily without coding. Below is a detailed explanation of each command available.
Description: Returns the element in the provided list at the given index.
Inputs:
list: The list from which to get the element.
index: The index of the element to return.
Output: The element at the given index in the list.
Description: Returns the first element of the provided list.
Inputs:
list: The list from which to get the first element.Output: The first element of the list.
Description: Returns the last element of the provided list.
Inputs:
list: The list from which to get the last element.Output: The last element of the list.
Description: Adds the provided item to the end of the provided list.
Inputs:
list: The list to which the item will be added.
item: The item to be added to the list.
Output: The number indicating the new size of the list.
Description: Inserts the provided item at the given index in the provided list.
Inputs:
list: The list to which the item will be inserted.
item: The item to be inserted.
index: The index at which to insert the item.
Output: The number indicating the new size of the list.
Description: Adds all of the elements in the second provided list to the end of the first provided list.
Inputs:
list_1: The list to which elements will be added.
list_2: The list containing elements to be added to list_1.
Output: None.
Description: Removes the element at the given index from the provided list.
Inputs:
list: The list from which an item will be removed.
index: The index of the item to be removed.
Output: The modified list after removal.
Description: Removes the specified item from the provided list if it exists.
Inputs:
list: The list from which an item will be removed.
item: The item to be removed.
Output: A boolean indicating whether an item was removed.
Description: Removes all elements from the first list that also exist in the second list.
Inputs:
list_1: The list from which elements will be removed.
list_2: The list containing elements to be removed from list_1.
Output: None.
Description: Returns the index of the first occurrence of the specified object in the provided list.
Inputs:
list: The list in which to find the item.
item: The item to find the index of.
Output: The index of the first occurrence of the item in the list.
Description: Returns the number of elements in the provided list.
Inputs:
list: The list whose size will be returned.Output: The size of the list.
Description: Removes all elements from the provided list.
Inputs:
list: The list to be cleared.Output: None.
Description: Reverses the order of the elements in the provided list.
Inputs:
list: The list to be reversed.Output: A boolean indicating whether the list was successfully reversed.
Description: Randomly shuffles the elements in the provided list.
Inputs:
list: The list to be shuffled.Output: None.
Description: Concatenates all elements of the provided list into a single string using the specified delimiter.
Inputs:
list: The list whose elements will be concatenated.
delimiter: The delimiter to use between elements.
Output: A string containing all elements of the list separated by the delimiter.
Description: Checks whether the provided list is empty or not.
Inputs:
list: The list to check.Output: A boolean indicating whether the list is empty.
Description: Checks whether the provided list is not empty.
Inputs:
list: The list to check.Output: A boolean indicating whether the list is not empty.
Description: Checks whether the provided list contains the specified item.
Inputs:
list: The list in which to check.
item: The item to check for in the list.
Output: A boolean indicating whether the item is in the list.
Database
Twidget offers many commands to manage data in your database. Below is a list of the available commands and their functionalities: Get Data. Retrieve an entry from a table. Get Multiple Data. Retrieve multiple entries from a table. Save Data. Save an object to a database table. Save Multiple Data. S...
Date
Twidget offers a variety of commands to manipulate date objects. Below are the available commands along with their respective descriptions, inputs, and outputs. Current Date. Description: Returns the current date and time. Output: - Type: DATE Add Time. Description: Returns the date plus a specified...
Miscellaneous
Twidget provides several miscellaneous commands to facilitate various tasks. Is Null. Description: Checks whether the provided value is null or not. Inputs: - value: The value to be checked. Output: - boolean: Returns `true` if the value is null; otherwise, returns `false`. Not Null. Description: Ch...
Local Storage
Twidget provides a set of local storage commands that enable interaction with the browser’s `localStorage` API through a no-code interface. These commands are useful for storing, retrieving, and managing key-value data persistently within the current domain context. Purpose. These commands abstract ...
Text
Twidget offers a variety of commands to manipulate text in various ways. To Uppercase. Converts all characters of the provided text to uppercase. - text: The text to be converted to uppercase. - A text string with all characters in uppercase. To Lowercase. Converts all characters of the provided tex...