Automate

Automate

Make your phone or tablet smarter with automation

Get it on Google Play

Destructuring assign

An action block that assigns multiple variables with the elements of an array.

The fiber will proceed immediately without pause.

If value evaluates to an array with fewer elements that variables then the remaining variables are set to null. If value evaluates to null then all variables are set to null. Any other type of value will cause the block to fail.

Elements in the value array can be ignored and not assigned by inserting empty variables.

Variables

The variables to assign from value.

Input arguments

  • Value — an array where each element is assigned to a variable, default is [].
Note! This documentation is also accessible within the app from Help & feedback menu.