Class ArrayToList

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

@BoxBIF @BoxMember(type=ARRAY) @BoxMember(type=ARRAY,name="join") public class ArrayToList extends BIF
  • Constructor Details

    • ArrayToList

      public ArrayToList()
      Constructor
  • Method Details

    • _invoke

      public Object _invoke(IBoxContext context, ArgumentsScope arguments)
      Used to iterate over an array and run the function closure for each item in the 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