Adaptive Framework 0.9.0

n_of

The following is a list of properties for the function n_of:

PropertyValue
briefCheck for n true values
categorylogical
descriptioninteger n specifies the number of boolean conditions that follow that must evaluate to true for boolean true to be returned. If n is 0, true is returned. Once n conditions evaluate to true, true is returned and the remaining conditions remain unevaluated.
errorsThrown[ { "error": "arg_error", "reason": "there are less than n conditions" } ]
functionIdn_of
functionLabeln_of
puretrue
parameters[ { "dataType": "integer", "name": "n" }, { "minArgs": 0, "dataType": "boolean", "name": "conditions" } ]
returns{ "dataType": "boolean" }