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