@vnodes/utils
    Preparing search index...

    Function pick

    • Picks a set of properties from an object. *

      Type Parameters

      • T extends object
      • K extends string | number | symbol

      Parameters

      • obj: T

        The source object

      • keys: K[]

        An array of keys to extract

      Returns Pick<T, K>

      A new object containing only the specified keys