is_file_spec: Is this a file specification object?

View source: R/spec.R

is_file_specR Documentation

Is this a file specification object?

Description

Is this a file specification object?

Usage

is_file_spec(object)

Arguments

object

Any R object

Value

Logical. TRUE if it is a file specification object, FALSE otherwise.

Specification

The contents of this section are shown in PDF user manual only.

Examples

file_spec(
  "R/",
  pattern = "\\.R$", format = "text",
  recursive = FALSE, ignore_case = TRUE, all_files = FALSE
) %>%
  is_file_spec()

pkglite documentation built on Aug. 29, 2022, 1:05 a.m.