Class Duplicate

java.lang.Object
ortus.boxlang.runtime.bifs.BIF
ortus.boxlang.runtime.bifs.global.system.Duplicate

@BoxBIF(description="Create a deep copy of a variable") @BoxMember(type=ARRAY) @BoxMember(type=STRUCT) @BoxMember(type=DATETIME) @BoxMember(type=QUERY) public class Duplicate extends BIF
  • Constructor Details

    • Duplicate

      public Duplicate()
      Constructor
  • Method Details

    • _invoke

      public Object _invoke(IBoxContext context, ArgumentsScope arguments)
      Duplicates an object - either shallow or deep
      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