• Returns a readonly instance of the given array

    Type Parameters

    • E

    Parameters

    • Optionalarray: null | E[]

      the arrays to inspect

    Returns ReadonlyArray<E> | undefined | null

    a readonly instance of the given array