Twidget provides several miscellaneous commands to facilitate various tasks.
Description:
Checks whether the provided value is null or not.
Inputs:
Output:
true
if the value is null; otherwise, returns false
.Description:
Checks whether the provided value is not null.
Inputs:
Output:
true
if the value is not null; otherwise, returns false
.Description:
Returns the opposite boolean value of the input.
Inputs:
Output:
true
if the input is false
, and false
if the input is true
.Description:
Logs the provided text to the console or log file.
Inputs:
log_level: The log level (e.g., INFO, DEBUG, ERROR).
message: The message to be logged.
Output:
None.
Description:
Generates a random string of the specified length with optional inclusion of letters and numbers.
Inputs:
length: The length of the random string.
include_letters: Whether to include letters in the string.
include_numbers: Whether to include numbers in the string.
Output:
Description:
Generates a random number between the specified minimum and maximum values.
Inputs:
min: The minimum value for the random number.
max: The maximum value for the random number.
Output:
Description:
Sends a user a password reset email containing a reset key.
Inputs:
email: The email address of the user.
reset_key: The reset key to be included in the email.
Math
Twidget offers a variety of commands to manipulate numbers. Below are the math commands available, along with their descriptions, inputs, and outputs. Sum. Description: Adds together a list of numbers and returns the sum. - Inputs: - `numbers`: A list of numbers to be added together. - Output: A sin...
Conversion
Overview. Twidget's conversion commands allow you to easily convert different data types to the required format. Below is a list of the available conversion commands and examples of how to use them. The `Convert to Text` command converts the provided value to a text (string) format. Examples: - `123...
Variables
Variables are essential building blocks in Twidget that allow you to store and manipulate data dynamically within your no-code applications. They enable you to create flexible and interactive applications by holding values that can be changed and referenced throughout your workflow. Creating Variabl...
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...
Loops
In Twidget, loops allow you to execute commands multiple times, either based on a condition or through a set number of iterations. Loops can also be nested, meaning you can run loops within other loops, creating complex logic for your tasks. List Loop. The `List Loop` command enables you to loop thr...