29 fprintf(stderr,
"HAS_KEY expects (map, string)\n");
push_value(vm, make_int(ok ? 1 :0))
int map_has(const Value *vm, const char *key)
Check whether the map contains the specified key.
Tagged union representing a Fun value.
Value make_int(int64_t v)
Construct a Value representing a 64-bit integer.
static Value pop_value(VM *vm)
Pop a Value from the VM operand stack.