• Filters the entities properties to the set contained in the keys array.

    Parameters

    • keys: string[]

      The array of keys that the entity be limited to

    • entity: any

      The entity to map

    Returns any

    An entity instance that has only the keys provided in the keys array

Generated using TypeDoc