Get value from object by path. Undefined-safe and accepts default value
npm install @mzvonar/getingetIn   
=========
Get value from object by path. Path can be string or array (e.g. ['user', 'profile', 'gender']).
If any value in path is undefined then undefined is returned or defaultValue if provided.
npm install @mzvonar/getin
``javascript`
const getIn = require('@mzvonar/getin');
const context = {
user: {
profile: {
gender: 'female'
}
}
};
const gender = getIn(context, ['user', 'profile', 'gender']);
female
gender is
`javascript `
const country = getIn(context, ['user', 'address', 'country']);
undefined
country is `
javascript `
const verified = getIn(context, ['user', 'profile', 'verified'], false);false
verified is
npm test`