Input to check. (Unlike bindingIsLocked, you can pass the
variable itself, rather than a string naming that variable.)
env
Environment to check where binding had been locked.
.xname
Not intended to be used directly.
Value
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.
See Also
bindingIsLocked, which this wraps,
find for how the environment is guessed. If the returns
a single environment, that is used. Otherwise the parent environment is
used (as determined with parent.frame).