Options
All
  • Public
  • Public/Protected
  • All
Menu

Module src/object/getPropertiesFromObject

Index

Functions

Const getPropertiesFromObject

  • getPropertiesFromObject<T>(object: NonNullable<T>, keysToFind: NonNullable<string[]>): Partial<T>
  • description

    Returns properties from an object by given key/s

    Type parameters

    • T

    Parameters

    • object: NonNullable<T>

      object to search through

    • keysToFind: NonNullable<string[]>

      keys to find properties

    Returns Partial<T>

    • selected properties in object

Generated using TypeDoc