Function toFlatObject

  • Parameters

    • sourceObj: null | object
    • destObj: Record<string, unknown> = {}
    • Optional filter: ((obj) => boolean)
        • (obj): boolean
        • Parameters

          • obj: object

          Returns boolean

    • Optional propFilter: ((prop, obj, destObj) => boolean)
        • (prop, obj, destObj): boolean
        • Parameters

          • prop: string
          • obj: object
          • destObj: Record<string, unknown>

          Returns boolean

    Returns Record<string, unknown>

Generated using TypeDoc