is.wholenumber: Whole numbers identification.

Description Usage Arguments Value See Also Examples

View source: R/utils.R

Description

is.wholenumber returns whether a value is a whole number.

Usage

1
is.wholenumber(x, tol = .Machine$double.eps^0.5)

Arguments

x

Data - Element to check whether it is a whole number.

tol

Double - Range to determine if the number is a whole number.

Value

Boolean - true if the input is a whole number, false otherwise.

See Also

Other utils functions: dec_to_hex, get_network_id, get_post, get_rpc_address, hex_to_dec, hex_to_text, process_block, process_log, process_receipt, process_transaction, set_network_id, set_rpc_address, text_to_hex

Examples

1
2
3

gethr documentation built on May 2, 2019, 7:03 a.m.