Function GetBaseDir

  • GetBaseDir(pathStr: string, trimLastSlash?: boolean): string
  • Since

    1.0.5

    Version

    2020-07-29

    Example

    C:/a/b/c  return C:/a/b/
    

    Parameters

    • pathStr: string
    • trimLastSlash: boolean = false

      default false

    Returns string

Generated using TypeDoc