Difference between revisions of "Component: Array Helper ( Data)"
From Flowcode Help
Jump to navigationJump to search (Created page with "{| style="width:50%" |- | width="20%" style="color:gray;" | Author | MatrixTSL |- | width="20%" style="color:gray;" | Version | 0.1 |- | width="20%" style="color:gray;...") |
|||
Line 27: | Line 27: | ||
==Examples== | ==Examples== | ||
− | + | ===Weather Example=== | |
+ | |||
+ | Example program showcasing a number of components used together to collect data from a URL using fetch, before processing the data using the object helper and array helper components. | ||
+ | |||
+ | {{Fcfile|Web_Weather.fcsx|Web Weather Example}} | ||
==Macro reference== | ==Macro reference== |
Revision as of 10:57, 28 November 2023
Author | MatrixTSL |
Version | 0.1 |
Category | Data |
Contents
Array Helper component
Component designed to allow manipulation of Javascript arrays.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_WEBEXP_Array.fcsx
Please click here to view the component source code (Beta): FC_Comp_Source_WEBEXP_Array.fcsx
Detailed description
No detailed description exists yet for this component
Examples
Weather Example
Example program showcasing a number of components used together to collect data from a URL using fetch, before processing the data using the object helper and array helper components.
Macro reference
ArrayAddValue
ArrayGetLength
![]() |
ArrayGetLength |
Gets the length of a JavaScript array object | |
![]() |
Object |
The JavaScript object | |
![]() |
Return |
ArrayGetValue
![]() |
ArrayGetValue |
Gets the value of an element in a JavaScript array object | |
![]() |
Object |
The JavaScript object | |
![]() |
Index |
The element index | |
![]() |
Return |
ArrayIndexOf
ArrayParse
![]() |
ArrayParse |
Parse a JavaScript array object by calling the macro for each element in the array. | |
![]() |
Object |
The JavaScript object | |
![]() |
Return |
ArrayRemoveValues
ArraySetValue
IsArray
![]() |
IsArray |
Returns true if the JavaScript object is an array | |
![]() |
Object |
The JavaScript object | |
![]() |
Return |
Property reference
![]() |
Properties |
![]() |
ParseArray macro |
Allows an easy way to parse an array element by element |