Skip to main content

none

Assert that no entries in the map satisfy a condition.


Examples

No kernel parameter named net.ipv4.ip_forward is set to 1:

kernel.parameters.where(key == "net.ipv4.ip_forward").none(value == 1)