logi_test: Generalise logical statements look if x is equal to the dots...

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Generalise logical statements look if x is equal to the dots arguments. If ... is a list, then you can specify a function rule in type, passing by name.

Usage

1
logi_test(x, ..., type = "any")

Arguments

x

A character

...

A vector of character

type

a function

Value

A logical

Examples

1
2
logi_test("ciao", c("come", "va", "ciao"))
          logi_test("ciao", c("come", "va", "ciao"), type = "all")

Davide-bll/Shinymod documentation built on April 17, 2021, 8:42 a.m.