Skip to contents

Validates a copy_slab argument – "exponential" (the default) or "flat", the two continuum measures tulpa supports for a copy scale's non-atom mass – defaulting NULL to "exponential" and erroring on anything else. Intended so a consumer package's own copy_slab argument stays in sync with tulpa's own accepted choices rather than restating them.

Usage

tulpa_hyper_check_copy_slab(x)

Arguments

x

A copy_slab value: NULL, "exponential", or "flat".

Value

x, defaulted to "exponential" when NULL.

Examples

tulpa_hyper_check_copy_slab("exponential")
try(tulpa_hyper_check_copy_slab("uniform"))