@unikue/ts-lang-utils
    Preparing search index...

    Function getTypeof

    • Returns the element types of the given array

      Parameters

      • Optionalarray: any[] | readonly any[] | null

        The array to check

      Returns string[] | undefined

      the element types of the given array

      David Hsing

      getTypeof(['foo', 'bar']);    // ['string', 'string']