Skip to contents

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

Usage

Path_is_char_device(paths)

Arguments

paths

A character vector of file paths.

Value

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

Examples

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