/** * @module accessors */ /** * * Gets the value at path of object. If the resolved value is undefined, the defaultValue is returned in its place. * * @param object The object to query * @param path The path of the property to get * @param defaultValue The value returned for undefined resolved values * @return The value if it exists, if not then either the default value is returned or undefined * */ export default function get(object: object, path: string[] | string, defaultValue?: T): T;