Attr::has
pub fn has(string key) -> bool Import
Source: use macro::{Attr}; compiler/src/prelude/macro.hy True when the attribute has an argument named key, or a bare key.
Called on a Attr value as value.has(…).
Parameters#
| Name | Type |
|---|---|
key | string |
Returns#
bool