Skip to main content
Log in

Mojo function

S_ISREG

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

Returns True if the mode is a regular file.

Parameters:

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

Args:

  • mode (intable): The file mode.

Returns:

True if the mode is a regular file and False otherwise.