Skip to contents

Does the input contain a BiocParallel parameter?

Usage

isBiocParallelParam(x)

Arguments

x

Object.

Value

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

Note

Updated 2023-07-21.

Examples

## TRUE ====
if (isInstalled("BiocParallel")) {
    isBiocParallelParam(BiocParallel::bpparam())
}
#> [1] TRUE

## FALSE ====
isBiocParallelParam(list())
#> [1] FALSE