check-vector-isSystemCommand: Is a system command installed?

check-vector-isSystemCommandR Documentation

Is a system command installed?

Description

Is a system command installed?

Usage

isSystemCommand(x)

isASystemCommand(x)

Arguments

x

Object.

Value

TRUE on success; FALSE on failure, with cause set.

Functions

  • isSystemCommand(): Vectorized.

  • isASystemCommand(): Scalar.

Note

Updated 2023-09-29.

Examples

## TRUE ====
isSystemCommand(c("cp", "rm"))

## FALSE ====
isSystemCommand(c("AAA", "BBB"))

steinbaugh/goalie documentation built on Jan. 17, 2024, 5:16 p.m.