Skip to contents

Generate the same value every time

Usage

constant(a)

Arguments

a

Any R object

Value

A quickcheck_generator object.

Examples

constant(NULL) %>% show_example()
#> NULL