Class ListGetEndings

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

@BoxBIF(alias="ListFirst") @BoxBIF(alias="ListLast") @BoxMember(type=STRING,name="listFirst") @BoxMember(type=STRING,name="listLast") public class ListGetEndings extends BIF
  • Constructor Details

    • ListGetEndings

      public ListGetEndings()
      Constructor
  • Method Details

    • _invoke

      public Object _invoke(IBoxContext context, ArgumentsScope arguments)
      Returns the first or last item in a delimited list, according to the specified function name
      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