- toFlatObject(sourceObj, destObj?, filter?, propFilter?): Record<string, unknown>
Parameters
sourceObj: null | object
destObj: Record<string, unknown> = {}
Optional
filter: ((obj) => boolean)
- (obj): boolean
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>