Class ListCompact

java.lang.Object
ortus.boxlang.runtime.bifs.BIF
ortus.boxlang.runtime.bifs.global.list.ListCompact

@BoxBIF @BoxBIF(alias="ListTrim") @BoxMember(type=STRING_STRICT,name="ListCompact") @BoxMember(type=STRING_STRICT,name="ListTrim") public class ListCompact extends BIF
  • Constructor Details

    • ListCompact

      public ListCompact()
      Constructor
  • Method Details

    • _invoke

      public Object _invoke(IBoxContext context, ArgumentsScope arguments)
      Compacts a list by removing empty items from the start and end of the list
      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