@wopjs/cast - v0.1.3
    Preparing search index...

    Function toNonEmptyArray

    • Returns x if x is an array and has at least one element, otherwise returns undefined.

      Type Parameters

      • T

      Parameters

      • x: T[]

      Returns T[] | undefined