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