Skip to contents

An alpha level must be numeric(1) greater than 0 and less than 1.

Usage

isAlpha(x)

Arguments

x

Object.

Value

TRUE on success; FALSE on failure, with cause set.

Note

Updated 2019-08-10.

Examples

## TRUE ====
isAlpha(0.05)
#> [1] TRUE

## FALSE ====
isAlpha("xxx")
#> [1] FALSE
isAlpha(1L)
#> [1] FALSE