| Issue 47: | Need builtin predicate that tests attributes up the stack | |
| 1 person starred this issue and may be notified of changes. | Back to list |
See {.Debug?} which is already a default predicate
Suggesting {.attr debug?} {.attr isAdmin?}
Or the other idea is just to make attributes live in the *same namespace*
as predicates:
{.debug?}
{.isAdmin?}
At first this seems confusing, because you could make a typo like
{.isAAAdmin?} and it would return false. But that's a problem with {.attr
isAdmin} too (if isAdmin is missing, then it will return False)
|