@lms-elements/utils
v1.1.4
Published
commonly used utilities
Downloads
153
Readme
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'