Skip to contents

This function checks if the specified paths are block devices and returns a logical vector indicating the result. Similar to Python's pathlib.Path.is_block_device() method.

Usage

Path_is_block_device(paths)

Arguments

paths

A character vector of file paths.

Value

A logical vector indicating whether each path is a block device.

Examples

if (FALSE) {
Path_is_block_device("file.txt")
}