all
Assert that all entries in the map satisfy a condition. Empty maps return true
.
Examples
All net.*
kernel parameters are non-zero:
kernel.parameters.where(key == /^net\./).all(value != 0)
all
Assert that all entries in the map satisfy a condition. Empty maps return true
.
All net.*
kernel parameters are non-zero:
kernel.parameters.where(key == /^net\./).all(value != 0)