containLetters {biovizBase} | R Documentation

## Checking if string contains letters or not

### Description

Test if a string contain any letters

### Usage

    containLetters(obj, all=FALSE)

### Arguments

`obj` | String
`all` | If set to FALSE, return TRUE when any letters appears; if all is set to TRUE, return TRUE only when the string is composed of just letters.

### Details

Useful when processing/sorting seqnames

### Value

Logical value

### Author(s)

tengfei

### Examples

    containLetters("XYZ123")
    containLetters("XYZ123", TRUE)

[Package biovizBase version 1.36.0 Index]