R object to be tested, most likely a numeric vector of length one
(other formats are allowed but will always return FALSE).
Value
is.scalar_in01 returns TRUE if x is an atomic vector of
length one and 0 <= as_numeric(x)="" <="1.
is.scalar_in return a function similair to is.scalar_in01 but with
specified boundaries.
=>