| MinBy |
| Syntax |
MaxBy(L: LIST, LessThanFunc: FUNCTION) |
| Description |
| Example |
/**/ Define ByLength(S, T) -- define the sorting function /**/ Return len(S) < len(T); /**/ EndDefine; /**/ L := ["bird", "mouse", "cat", "elephant"]; /**/ MaxBy(L, ByLength); cat |
| See Also |