pure
    Preparing search index...

    Function fsIsRoot

    • Check if a path is the root directory, also handles badly formatted paths like ".///../"

      Parameters

      • p: string

      Returns boolean