updating oE larger_of
larger_of
include math.e namespace math public function larger_of(object objA, object objB)
returns the larger of two objects.
Parameters:
- objA : an object.
- objB : an object.
Returns:
Whichever of objA and objB is the larger one.
Comments:
Introduced in v4.0.3
Example 1:
? larger_of(10, 15.4) -- returns 15.4 ? larger_of("cat", "dog") -- returns "dog" ? larger_of("apple", "apes") -- returns "apple" ? larger_of(10, 10) -- returns 10
See Also:
Not Categorized, Please Help
|