JavaScript routines used withing @imqueue framework
git clone [email protected]:imqueue/js.git
npm run docs
import { js, object } from '@imqueue/js';
import isObject = js.isObject;
import get = object.get;
const obj = { { a: { b: { c: true } } } };
if (!isObject(obj)) {
throw new TypeError('Object required!');
}
console.log(get(obj, 'a.b.c'));