A function that reads a value from a row: a property path ("address.city", missing parents → undefined) or the given function itself.
"address.city"
undefined
property path or function
the getter
const city = createValueGetter<{ address?: { city: string } }>("address.city");city({ address: { city: "Kiel" } }); // "Kiel"city({}); // undefined Copy
const city = createValueGetter<{ address?: { city: string } }>("address.city");city({ address: { city: "Kiel" } }); // "Kiel"city({}); // undefined
1.1.94
A function that reads a value from a row: a property path (
"address.city", missing parents →undefined) or the given function itself.