is_dir: Is File/Directory

View source: R/directory.R

is_dirR Documentation

Is File/Directory

Description

Is the path a file/directory?

Usage

is_dir(x)

is_file(x)

Arguments

x

A vector of file paths

Details

These are essentially taken from utils::file_test() for op = '-d' and op = -f but separated.

Value

A logical vector


mark documentation built on Oct. 23, 2023, 9:06 a.m.