Utils
Package with commonly used utils
Usage
import { getObjectPropertyByString } from '@lms-elements/utils';
const a = {
b: {
c: {
value: 'value',
},
},
};
const value = getObjectPropertyByString<string>(a, 'b.c.value'); // returns 'value'