FHIRClient - v3.0.0
    Preparing search index...

    Function getPath

    • Walks through an object (or array) and returns the value found at the provided path. This function is very simple so it intentionally does not support any argument polymorphism, meaning that the path can only be a dot-separated string. If the path is invalid returns undefined.

      Parameters

      • obj: Record<string, any>

        The object (or Array) to walk through

      • path: string = ""

        The path (eg. "a.b.4.c")

      Returns any

      Whatever is found in the path or undefined