Class ToUnmodifiable

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

@BoxBIF @BoxMember(type=ARRAY) @BoxMember(type=STRUCT) @BoxMember(type=QUERY) public class ToUnmodifiable extends BIF
  • Constructor Details

    • ToUnmodifiable

      public ToUnmodifiable()
      Constructor
  • Method Details

    • _invoke

      public Object _invoke(IBoxContext context, ArgumentsScope arguments)
      Convert an array, struct or query to its Unmodifiable 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 Unmodifiable counterpart.