function

Array

Array creates an ordered list of rows containing the supplied fields.

Arguments

ArgumentTypeDescription
namestringThe name value.
childrenFieldsThe children value.

Returns

The declared result.

ArrayField

Full signature

func Array( name string, children Fields, ) ArrayField

Source field/fluent.go:1975

Related types

  • Fields

    Fields is the ordered list assigned to ridu.Collection.Fields, ridu.Global.Fields, or a nested field constructor. Populate it with Nodes from this package's constructors. Ridu snapshots the caller-owned slice during construction, editing, and config resolution.

  • ArrayField

    ArrayField configures an ordered list of rows containing the supplied fields.

Related guides