Class ArrayMax

java.lang.Object
ortus.boxlang.runtime.bifs.BIF
ortus.boxlang.runtime.bifs.global.array.ArrayMax

@BoxBIF(description="Find the maximum value in an array") @BoxMember(type=ARRAY) public class ArrayMax extends BIF
  • Constructor Details

    • ArrayMax

      public ArrayMax()
      Constructor
  • Method Details

    • _invoke

      public Number _invoke(IBoxContext context, ArgumentsScope arguments)
      Get the max value from an array
      Specified by:
      _invoke in class BIF
      Parameters:
      context - The context in which the BIF is being invoked.
      arguments - Argument scope for the BIF.
      Returns:
      The result of the invocation