FromPathOrFn
Union
FromPathOrFn
type
Defines a mapping specification that can either be a property path string or a function.
Used to extract values from source objects in data mapping operations. When a string is provided, it represents a dot-notation path to a property (e.g., "user.name"). When a function is provided, it receives the input object and should return the desired value.
Possible values:
string- (input: TInput) => TValue