Crystalizer::Any
Instance methods
Assumes the underlying value is an Indexable or a Hash, and returns the element
at the given index.
Raises if the underlying value is not an Indexable or a Hash.
Assumes the underlying value is a Hash and returns the element
with the given key.
Raises if the underlying value is not a Hash.
Assumes the underlying value is an Indexable and returns the element
at the given index, or nil if out of bounds.
Raises if the underlying value is not an Indexable.
Assumes the underlying value is a Hash and returns the element
with the given key, or nil if the key is not present.
Raises if the underlying value is not a Hash.
Traverses the depth of a structure and returns the value, otherwise raises.
Traverses the depth of a structure and returns the value.
Returns nil if not found.