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 May 29, 2024, 5:13 a.m.