Class ToList

  • All Implemented Interfaces:
    Function<Object,​List<?>>

    public class ToList
    extends KorypheFunction<Object,​List<?>>
    A ToList is a Function that takes an Object and converts it to a list. If the object is an array or iterable the items will be added to a new list. Otherwise a new list is created with the single value as an item.
    • Constructor Detail

      • ToList

        public ToList()
    • Method Detail