vis-util
    Preparing search index...

    Function topMost

    • Get the top most property value from a pile of objects.

      Parameters

      • pile: any

        Array of objects, no required format.

      • accessors: any

        Array of property names. For example object['foo']['bar']['foo', 'bar'].

      Returns any

      Value of the property with given accessors path from the first pile item where it's not undefined.