testAllTrue
lib.testAllTrue
Docs pulled from | This Revision | 10 minutes ago
Create a test assuming that list elements are true
.
Inputs
expr
-
1. Function argument
Examples
lib.debug.testAllTrue
usage example
{ testX = allTrue [ true ]; }
Noogle detected
Implementation
The following is the current implementation of this function.
testAllTrue = expr: { inherit expr; expected = map (x: true) expr; };