Skip to main content

function

lexists

lexists(path: String) -> Bool

Return True if path exists or is a broken symlink.

Args:

  • path (String): The path to the directory.

Returns:

Returns True if the path exists or is a broken symbolic link.

lexists[pathlike: PathLike](path: pathlike) -> Bool

Return True if path exists or is a broken symlink.

Parameters:

  • pathlike (PathLike): The a type conforming to the os.PathLike trait.

Args:

  • path (pathlike): The path to the directory.

Returns:

Returns True if the path exists or is a broken symbolic link.