relations.in_relation

relations.in_relation(lhs, rhs)

Is lhs in rhs?

python
from fave_recode.relations import in_relation
in_relation('x', 'xyz')
True

Parameters

Name Type Description Default
lhs Any left hand side object required
rhs Any right hand side object (must work with in) required

Returns

Type Description
bool True or False