Skip to main content
Log in

Mojo function

S_ISDIR

S_ISDIR[intable: Intable](mode: intable) -> Bool

Returns True if the mode is a directory.

Parameters:

  • intable (Intable): A type conforming to Intable.

Args:

  • mode (intable): The file mode.

Returns:

True if the mode is a directory and False otherwise.

Was this page helpful?