Skip to main content

MapValues

This Script is part of the Common Scripts Pack.#

Maps the given values to the translated values.

If given values: "a,b,c" and translated: 1,2,3 then input "a" will return a 1.

Script Data#


NameDescription
Script Typejavascript
TagsUtility

Inputs#


Argument NameDescription
valuesThe values that should be translated.
translatedThe translated values to be used to replace the values.
inputThe value to compare and replace.

Outputs#


There are no outputs for this script.