is_single_negative_decimal {tester}R Documentation

Is single negative decimal

Description

Tests if an object is a single positive decimal

Usage

  is_single_negative_decimal(x)

Arguments

x

an R object

See Also

is_single, is_single_negative, is_single_positive_decimal

Examples

is_single_negative_decimal(-3/4)  # TRUE
is_single_negative_decimal(0.01)  # FALSE
is_single_negative_decimal("hoskdflksfd")  # FALSE
is_single_negative_decimal("1.0")  # FALSE
is_single_negative_decimal(1:5)  # FALSE

[Package tester version 0.2.0 Index]