Module variant_get

Module variant_get 

Source

Structsยง

GetOptions
Controls the action of the variant_get kernel.

Enumsยง

ShreddedPathStep ๐Ÿ”’

Functionsยง

follow_shredded_path_element ๐Ÿ”’
Given a shredded variant field โ€“ a (value?, typed_value?) pair โ€“ try to take one path step deeper. For a VariantPathElement::Field, the step fails if there is no typed_value at this level, or if typed_value is not a struct, or if the requested field name does not exist.
shredded_get_path ๐Ÿ”’
Follows the given path as far as possible through shredded variant fields. If the path ends on a shredded field, return it directly. Otherwise, use a row shredder to follow the rest of the path and extract the requested value on a per-row basis.
variant_get
Returns an array with the specified path extracted from the variant values.