any →
field(
    name: text
) → any

Returns the value of the named field from the input record or object. Returns null when the field does not exist or the input does not expose named values.

Parameters

Name Type Required Description
name text Yes Name of the field to retrieve from the input.

Examples

{name := "Ada", score := 10} | field("name")  "Ada"

Kind: Function
Scope: record
Aliases: None


This site uses Just the Docs, a documentation theme for Jekyll.