Object.zHasField
zHasField($fieldName) -> boolean
Description
Return true
or false
if the object has the given field.
class MyClass { fields { id: 123 } } $object = MyClass() $object.zHasField('id') //= true $object.zHasField('missing') //= false