query
On this page

checkReqs

lib.checkReqs

Docs pulled from | This Revision | 10 minutes ago
Deprecated


Output : are reqs satisfied? It's asserted.


Noogle detected

Aliases

Implementation

The following is the current implementation of this function.

checkReqs =
    attrSet: argList: condList:
    (foldr and true (
      map (
        x:
        let
          name = (head x);
        in

        (
          (checkFlag attrSet name)
          -> (foldr and true (
            map (
              y:
              let
                val = (getValue attrSet argList y);
              in
              (val != null) && (val != false)
            ) (tail x)
          ))
        )
      ) condList
    ));