Difference between revisions of "Array.filteroncondition()"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "=Array Filter Functions (SomeTakeDropOrAllFlag, SomeFunction, SomeParameter)= ==Array.filteroncondition(SomeTakeDropOrAllFlag, SomeFunction, SomeParameter)== Apply a function...")
 
Line 3: Line 3:
 
==Array.filteroncondition(SomeTakeDropOrAllFlag, SomeFunction, SomeParameter)==
 
==Array.filteroncondition(SomeTakeDropOrAllFlag, SomeFunction, SomeParameter)==
 
Apply a function to an array with parameters, and return list that matched/not matched/all
 
Apply a function to an array with parameters, and return list that matched/not matched/all
 +
Array.suchthat() is Array.filteroncondition with SomeTakeDropOrAllFlag set to 0 (Take when condition is satisfied)
  
 
==Array.filteroncolumn(SomeCondition, SomeExtractColumns, SomeFilterOnColumn)==
 
==Array.filteroncolumn(SomeCondition, SomeExtractColumns, SomeFilterOnColumn)==

Revision as of 15:39, 4 February 2020

Array Filter Functions (SomeTakeDropOrAllFlag, SomeFunction, SomeParameter)

Array.filteroncondition(SomeTakeDropOrAllFlag, SomeFunction, SomeParameter)

Apply a function to an array with parameters, and return list that matched/not matched/all Array.suchthat() is Array.filteroncondition with SomeTakeDropOrAllFlag set to 0 (Take when condition is satisfied)

Array.filteroncolumn(SomeCondition, SomeExtractColumns, SomeFilterOnColumn)

SomeExtractColumns are the columns that are extracted, and filters are applied on SomeFilterOnColumn or column 0 1..100.filteroncolumn(">5")

Array.filteronrow(SomeCondition, SomeExtractRows, SomeFilterOnRow)

SomeExtractRows are the rows that are extracted, and filters are applied on SomeFilterOnRow or row 0 [1..100].filteronrow("<5")

gives

1

2

3

4