Class ArrayIndexExists

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

@BoxBIF @BoxBIF(alias="ArrayIsDefined") @BoxMember(type=ARRAY) @BoxMember(type=ARRAY,name="isDefined") public class ArrayIndexExists extends BIF
  • Constructor Details

    • ArrayIndexExists

      public ArrayIndexExists()
      Constructor
  • Method Details

    • _invoke

      public Boolean _invoke(IBoxContext context, ArgumentsScope arguments)
      Returns whether there exists an item in the array at the selected index.
      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