is_integer: Check if value is an integer or integer-like

View source: R/predicates.R

is_integerR Documentation

Check if value is an integer or integer-like

Description

this function checks if the input is an integer scalar (integer-like value – i.e., both 1L and 1.0 pass this check)

Usage

is_integer(x, n)

Arguments

x

is the input

n

is the number of inputs


jtipton25/pgR documentation built on July 8, 2022, 12:44 a.m.