R/env.R
env_inherits.Rd
This returns TRUE if x has ancestor among its parents.
TRUE
x
ancestor
env_inherits(env, ancestor)
An environment.
Another environment from which x might inherit.