Function pick

  • Pick props from `object.

    Runtime version of Pick<T,K>.

    Type Parameters

    • T extends object

    • K extends string | number | symbol

    Parameters

    • object: T
    • props: K[]

    Returns Pick<T, K>