query
On this page

checkReqs

lib.misc.checkReqs

Docs pulled from | This Revision | 14 minutes ago


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));