stringMatches: Check if string matches one of possible values

View source: R/asserts.R

stringMatchesR Documentation

Check if string matches one of possible values

Description

stringMatches checks if string is equal to one of the choices.

Usage

stringMatches(x, choice)

Arguments

x

string to test.

choice

Character vector with possible values for x.

Value

Logical indicating if x matches one of the strings in choice.


Genentech/midasHLA documentation built on Feb. 12, 2024, 9:38 a.m.