stringMatches {midasHLA} | R 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`.

[Package midasHLA version 1.2.0 Index]