is_absolute_path: Test if a path is an absolute path

View source: R/is.R

is_absolute_pathR Documentation

Test if a path is an absolute path

Description

Test if a path is an absolute path

Usage

is_absolute_path(path)

Arguments

path

A character vector of one or more paths.

Examples

is_absolute_path("/foo")
is_absolute_path("C:\\foo")
is_absolute_path("\\\\myserver\\foo\\bar")

is_absolute_path("foo/bar")

fs documentation built on Oct. 30, 2024, 9:06 a.m.