genlist() Usage Version History See also

genlist()

import { genlist } from "@fed1/jsos";

The genlist method combinator executes all matching primary methods and gathers each method's result in an array that is returned to the caller afterwards.

Usage

genlist(args, getNext, hasNext)

This function is not supposed to be used on its own, but you can supply it as a value for the option combinator when creating a new multimethod using Generic.

Please see method combinator for more info and to learn how to write one yourself.

Version History

Feature Since version
genlist() 1.0

See also