Nutrient Web SDK

Function List

Create a new immutable List containing the values of the provided collection-like.

Note: List is a factory function and not a class, and does not use the new keyword during construction.

Function
Type Signature
List<T>(
    collection?: Iterable<T, any, any> | ArrayLike<T>,
): NutrientViewer.Immutable.List<T>