Class ToModifiable

java.lang.Object
ortus.boxlang.runtime.bifs.BIF
ortus.boxlang.runtime.bifs.global.conversion.ToModifiable

@BoxBIF(description="Convert data to a modifiable form") @BoxMember(type=ARRAY) @BoxMember(type=STRUCT) @BoxMember(type=QUERY) public class ToModifiable extends BIF
  • Constructor Details

    • ToModifiable

      public ToModifiable()
      Constructor
  • Method Details

    • _invoke

      public Object _invoke(IBoxContext context, ArgumentsScope arguments)
      Convert an array, struct or query to its Modifiable counterpart.
      Specified by:
      _invoke in class BIF
      Parameters:
      context - The context in which the BIF is being executed.
      arguments - The arguments passed to the BIF.
      Returns:
      The value converted to its Modifiable counterpart. If we can't change we just return it.