Skip to main content

function

S_ISBLK

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

Returns True if the mode is a block device.

Parameters:

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

Args:

  • mode (intable): The file mode.

Returns:

True if the mode is a block device and False otherwise.