• Typecasts an array with at least one element into a NonEmptyList. Works only if the compiler can confirm that the array has one or more elements

    Type Parameters

    Parameters

    • list: T

    Returns functional.NonEmptyList<T[number]>

Generated using TypeDoc