Extract Token
Last updated
Last updated
The Extract token node retrieves a specific token from a set of tokens based on its name. It's useful for filtering out a single token from a larger collection for individual processing or reference.
Tokens
The collection of tokens to search through
List
Yes
Name
The name of the token to extract
Text
Yes
Found
Boolean indicating whether the token was found
Yes/No
Token
The extracted token if found, otherwise undefined
Token
Drag the Extract token node into your graph.
Connect a list of tokens to the "Tokens" input.
Connect the name of the token you want to extract to the "Name" input.
The "Found" output will be true if the token was found, false otherwise.
The "Token" output will contain the extracted token if found.
The token name must match exactly (case-sensitive).
Use the "Found" output to conditionally process the token only when it exists.
Destruct Token: For breaking down the extracted token into its components.
Create Design Token: For creating new tokens based on extracted ones.
Targeted Modification: Extract specific tokens for individual processing or modification.
Token References: Pull specific tokens to reference in other token definitions.
Token Validation: Check if a specific token exists within a set.