Create the new Element instance, provide the data and optionally configure the type of Element.
The data to be stored in this element.
ReadonlyclassThe class used to create this instance, so that it can be recognized as valid without an instanceof check.
The data stored in this element.
StaticfromConvert an array into Element instances, return the head and tail Elements.
Provide an array of data that will be converted to array of elements.
Provide the type of IsElement to use.
StaticmakeMake a new Element from the data given if it is not already a valid Element.
Return a valid ArrayElement instance from given data, or even an already valid one.
Provide the type of IsElement to use.
Element represents a node in an Arrayable.