Skip to main content
Log in

Mojo function

S_ISSOCK

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

Returns True if the mode is a socket.

Parameters:

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

Args:

  • mode (intable): The file mode.

Returns:

True if the mode is a socket and False otherwise.