Creates an OptionType optionally seeded with initial include/exclude entries.
Optionalincludes: CbType | OptionTypeInitial type(s) to include.
Optionalexcludes: CbType | OptionTypeInitial type(s) to exclude.
Live list of CbTypes that an interactor must have none of.
Live list of CbTypes that an interactor must have at least one of.
Adds excludes to the exclude list and returns this for chaining.
CbType or OptionType whose types should be added to excludes.
Adds includes to the include list and returns this for chaining.
CbType or OptionType whose types should be added to includes.
Composite callback option type — combines include and exclude CbType lists to express complex listener filter conditions.
An interaction satisfies an
OptionTypewhen the interactor has at least one of the included types and none of the excluded types.Example
Converted from nape-compiled.js lines 2647–2698.