Skip to main content

contains

Check whether any entry in the map satisfies a condition. Returns true if at least one match is found.


Examples

At least one kernel parameter vm.swappiness is set to 60 or less:

kernel.parameters.contains(key == "vm.swappiness" && value <= 60)