FunctionshasVersion: NextOn this pagehasChecks whether a record has a specified field.has(x:record, field:string) -> boolDescriptionThe has function returns true if the record contains the specified field and false otherwise.ExamplesCheck if a record has a specific fieldfrom { x: "foo", y: null, } this = { has_x: this.has("x"), has_y: this.has("y"), has_z: this.has("z"), }{ has_x: true, has_y: true, has_z: false, }