Class ArrayToStruct

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

@BoxBIF @BoxMember(type=ARRAY) public class ArrayToStruct extends BIF
  • Constructor Details

    • ArrayToStruct

      public ArrayToStruct()
      Constructor
  • Method Details

    • _invoke

      public Object _invoke(IBoxContext context, ArgumentsScope arguments)
      Transform the array to a struct, the index of the array is the key of the struct
      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