has_term: Does a Term Appear in a Vector of Strings?

View source: R/filter-utils.R

has_termR Documentation

Does a Term Appear in a Vector of Strings?

Description

Does a Term Appear in a Vector of Strings?

Usage

has_term(s, pattern, ignore_case = TRUE)

Arguments

s

the vector of strings.

pattern

the pattern to search for.

ignore_case

should the case be ignored? Default TRUE

Value

a single logical value


ctrialsgov documentation built on Aug. 8, 2025, 7:39 p.m.