is-absent
record →
is-absent(
name: text
) → boolean
Returns whether the named field does not exist in the input record, independently of field values.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
name | text | Yes | Name of the field whose absence is tested. |
Argument evaluation
name: Evaluated once in the enclosing context.
Examples
{name := "Alice"} | is-absent(age) → #true
Kind: Predicate
Scope: record
Aliases: None