Get a property value out of an object by providing the path to the property.

  • Parameters

    • obj: any
    • path: string

    Returns { found: boolean; lastKey: null | string; object: any; parentObject: any }

    the property or object, following the given path, and the parent and last key to the parent object to be able to set it (see also setPropertyByPath).