Skip to main content
Log in

Mojo function

lexists

lexists[PathLike: PathLike, //](path: PathLike) -> Bool

Return True if path exists or is a broken symlink.

Parameters:

  • PathLike (PathLike): The 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.