constant {quickcheck}R Documentation

Generate the same value every time

Description

Generate the same value every time

Usage

constant(a)

Arguments

a

Any R object

Value

A quickcheck_generator object.

Examples

constant(NULL) %>% show_example()

[Package quickcheck version 0.1.3 Index]