• Finds the common base path of a collection of paths.

    Parameters

    • key: string

      A key to index into each object.

    • Rest ...map: (object | Map<any, any>)[]

      Objects or Maps containing a key to holding a path.

    Returns string | void

    The common base path.