@resee-movies/utilities - v0.8.0
    Preparing search index...

    Function toNonNullableArray

    • Given value T, returns an array in which null and undefined values have been removed. If T is a non-nullable value that is not already an array, then T will be placed into a new array at index 0.

      Type Parameters

      • T

      Parameters

      • value: T | T[]

      Returns NonNullable<T>[]