TRUE or FALSE, depending upon whether or not the
binding is locked in the specified environment.
assert_is_binding_locked returns nothing but throws an error if
the corresponding is_* function returns FALSE.
Arguments
x
Input to check. (Unlike bindingIsLocked, you can pass the
variable itself, rather than a string naming that variable.)
severity
How severe should the consequences of the assertion be?
Either "stop", "warning", "message", or "none".
env
Environment to check where binding had been locked.
.xname
Not intended to be used directly.
See Also
bindingIsLocked, which this wraps,
find for how the environment is guessed. If this returns
a single environment, that is used. Otherwise the parent environment is
used (as determined with parent.frame).