def has
import emerging-ezjson@1.3.0.0/main.bend as EmergingEzjsonimport Base
import emerging-ezjson@1.3.0.0/src/value.bend as Value
62# whether an object has a key; false when the value is not an object. Tells
63# a missing key from a key whose value is null, which `get` does not
64def has(val: Value.Json, key: String) -> Bool:
65 Value.has(val, key)