List of helpers

Use the components named helpers.* to implement various operations, for example, with the if-then-else conditions or switch-case structure.

ComponentDescription
helper.concat-arraysMerging multiple arrays into a single array.
helper.entries2objectCreating an object from a specified array of key-value pairs.
helper.ifThe If...Then...Else operator. Allows you to execute either one block of code or another, depending on the condition.
helper.joinThe component combines two or more strings into one. You can add a delimiter to separate the strings, such as a space or comma.
helper.object2entriesCreating an array of key-value pairs from the specified object.
helper.replaceAllows you to replace some parts of the string with others.
helper.search-queryComponent for creating a string with a search query reference.
helper.switchA switch-case construction: sequentially checks the conditions and executes the code when the condition turns out to be true.
helper.text-transformAllows you to change the case of the text, like make all letters uppercase.
helper.transformCreates a new array by transforming each of the elements in the original array.
helper.translateComponent for translating interface elements to other languages. More details in Translating the task interface.
helper.proxyYou can use this component to download files from Yandex Disk.
Contact support

Last updated: March 29, 2023

Introduction
Getting started
Important tips
Useful recommendations
Working with Toloka
Projects
Pools
Tasks
Results
Project analysis
Toloka settings
Task interface
Template Builder
HTML/CSS/JS editor
Help and support
FAQTroubleshootingSupportGlossary