Function isDirectory

  • Determine if a path is a directory without throwing an error

    Parameters

    • path: string

    Returns boolean