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