FatEcto v0.4.0 FatUtils.Map View Source
Provides methods to work with maps and structs cleanup.
Link to this section Summary
Functions
Deep merge two maps.
Check if all the keys present in the map and returns true.
Check if keys inside map are equal to specific value.
Check if map contains any of the keys. Reverse to has_all_keys.
Link to this section Functions
Link to this function
deep_merge(left, right) View Source
Deep merge two maps.
Link to this function
has_all_keys?(map, keys) View Source
Check if all the keys present in the map and returns true.
Link to this function
has_all_val_equal_to?(map, keys, equal_to) View Source
Check if keys inside map are equal to specific value.
Link to this function
has_any_of_keys?(map, keys) View Source
Check if map contains any of the keys. Reverse to has_all_keys.