isInteger: Validate if a value is an integer

Description Usage Arguments Value Author(s)

View source: R/findConsensusPeakRegionsIntern.R

Description

Validate if the value passed to the function is an integer or not. To be considered as an integer, the value must have a length of 1. The type of value can be a integer or numerical. However, a numerical must have the same value once casted to a integer. A vector of integers will returned FALSE.

Usage

1
isInteger(value)

Arguments

value

an object to validate.

Value

TRUE is the parameter is a integer; otherwise FALSE

Author(s)

Astrid Deschenes


consensusSeekeR documentation built on Nov. 8, 2020, 4:54 p.m.