{Skin/Usermenu.htmlload}
Beverly Hills Real Estate

Main Content

Moving From To Phoenix


   (Go Back) Choose State To Move From ') {
return { type: 'undefined' };
}

if (typeof value !== 'object') {
return { type: 'value', value };
}

if (value === null) {
return { type: 'value', value: null };
}

if (Array.isArray(value)) {
return { type: 'array', value: value.map(item => getRecurse(item, depth + 1)) };
}

return {
type: 'object',
value: Object.keys(value).reduce((acc, key) => {
acc[key] = getRecurse(value[key], depth + 1);
return acc;
}, {}),
};
}

export default function get(value) {
return getRecurse(value, 0);
}

Let's  work together
Thank you for your interest in getting in touch with me. Please select the option that suits you the best and fill out the form: