Skip to contents

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

Usage

Path_is_socket(paths)

Arguments

paths

A character vector of file paths.

Value

A logical vector indicating whether each path is a socket.

Examples

if (FALSE) {
Path_is_socket("socket_file")
}