characterMatches: Check if character matches one of possible values

View source: R/asserts.R

characterMatchesR Documentation

Check if character matches one of possible values

Description

characterMatches checks if all elements of a character vector matches values in choices.

Usage

characterMatches(x, choice)

Arguments

x

Character vector to test.

choice

Character vector with possible values for x.

Value

Logical indicating if x's elements matches any of the values in choice.


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