FatEcto v0.5.0 FatUtils.Map View Source

Provides methods to work with maps and structs cleanup.

Link to this section Summary

Functions

Deep merge two maps.

Count the number of given keys in a given map.

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

Deep merge two maps.

Link to this function

get_keys_count(map, keys)

View Source

Count the number of given keys in a given map.

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.