@eagleoutice/flowr - v2.13.1
    Preparing search index...

    Function commonDirectory

    • The directory all given paths share, e.g. /a for /a/b.R and /a/c/d.R; undefined if they share none.

      Parameters

      • paths: readonly string[]

      Returns string | undefined