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


jmbarbone/jordan documentation built on April 1, 2024, 7:46 p.m.