class_docstr: Represents a path which behaves like a string.
class_docstr_tok: ["Represents","a","path","which","behaves","like","a","string","."]
docstr: Returns ``True`` if the path is a directory.
docstr_tok: ["Returns","``","True","``","if","the","path","is","a","directory","."]
code: def isdir(self) -> bool:
      """
      Returns ``True`` if the path is a directory.
      """
      return os.path.isdir(self)
  
imports: from __future__ import annotations
  import os
  import shutil
  import sys
  import warnings
  from typing import IO, TYPE_CHECKING, Any, Callable
  from sphinx.deprecation import RemovedInSphinx90Warning
label_desc: Use image node_id 5 for calling the path obj's underlying member method code with example usage: obj.isdir() and returns: os