new SelectIterable()
Creates a SelectIterable instance from an array.
Created internally from Select.prototype.for, and not exported.
Methods
for(test, consequent) → {SelectIterable}
Accepts a test and consequent function each and returns a new
SelectIterable instance.
Parameters:
Name | Type | Description |
---|---|---|
test |
Test | test callback function |
consequent |
function | consequent callback function |
Returns:
- an instance of SelectIterable
- Type
- SelectIterable