This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* USE NAMESPACE "Number" */ | |
| Abs = LAMBDA(_number, ABS(_number)); | |
| Acos = LAMBDA(_number, ACOS(_number)); | |
| Asin = LAMBDA(_number, ASIN(_number)); | |
| Atan = LAMBDA(_number, ATAN(_number)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* USE NAMESPACE "Replacer" */ | |
| ReplaceText = LAMBDA(_text, _old, _new, | |
| SUBSTITUTE(_text, _old,_new) | |
| ); | |
| ReplaceValue = LAMBDA(_value, _old, _new, | |
| IF(_value = _old, _new, _value) | |
| ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* USE NAMESPACE "Text" */ | |
| AfterDelimeter = LAMBDA(_text, delimiter, [_index], _text); | |
| At = LAMBDA(_text, _index, MID(_text, _index, 1)); | |
| BeforeDelimeter = LAMBDA(_text, delimiter, [_index], _text); | |
| BetweenDelimeters = LAMBDA(_text, _startDelimiter, _endDelimiter, [_startIndex], [_endIndex], _text); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* USE NAMESPACE "Record" */ | |
| Field = LAMBDA( | |
| // Parameter Declarations | |
| _record, | |
| _field, | |
| LET( | |
| // Help | |
| Help, TRIM( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* USE NAMESPACE "Table" */ | |
| Item = LAMBDA(_table, _index, | |
| MAKEARRAY( | |
| 2, | |
| COLUMNS(_table), | |
| LAMBDA(ir, ic, CHOOSE(ir, INDEX(_table, 1, ic), INDEX(_table, _index + 1, ic))) | |
| ) | |
| ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* USE NAMESPACE "List" */ | |
| Accumulate = LAMBDA(_list, _seed, _accumulator, REDUCE(_seed, _list, _accumulator)); | |
| AllTrue = LAMBDA(_list, AND(_list)); | |
| AnyTrue = LAMBDA(_list, OR(_list)); | |
| Average = LAMBDA(_list, AVERAGE(_list)); | |
| Contains = LAMBDA(_list, _value, [_equationCriteria], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| REPLACENTH = LAMBDA(array, xnew, trow, [tcol], | |
| LET( | |
| tcol, MAX(tcol, 1), | |
| MAKEARRAY( | |
| ROWS(array), | |
| COLUMNS(array), | |
| LAMBDA(irow, icol, | |
| IF( | |
| AND(irow = trow, icol = tcol), | |
| xnew, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Template = LAMBDA( | |
| // Parameter Declarations | |
| x, | |
| LET( | |
| // Help | |
| // Error Messages | |
| // Check Inputs | |
| // Procedure | |
| // Handle Error | |
| // Return Result |