ERXArrayUtilities.ReverseOperator Class Reference
Inherits
er::extensions::foundation::ERXArrayUtilities::BaseOperator.
List of all members.
Detailed Description
Define an
NSArray.Operator for the key
reverse.
This allows for key value paths like:
myArray.valueForKey("@reverse.someOtherPath");
which would reverse the order of the array myArray before continuing to process someOtherPath.
- See also:
- BaseOperator
Constructor & Destructor Documentation
Member Function Documentation
| Object compute |
( |
NSArray<?> |
array, |
|
|
String |
keypath | |
|
) |
| | |
returns the reverse value for the values of the keypath.
- Parameters:
-
| array | array to be checked. |
| keypath | additional keypath |
- Returns:
- value produced following keypath after array is reversed
The documentation for this class was generated from the following file: