Module: core/inferFullTargets
Functions
inferFullTargets
▸ inferFullTargets(targets
): TargetDescriptor
[]
Performs inference on the partial targets provided by the user, using
previous targets, global defaults, and action-specific defaults to fill out
any details that may have been omitted in the spoken form.
For example, we would automatically infer that "take funk air and bat"
is
equivalent to "take funk air and funk bat"
.
Parameters
Name | Type | Description |
---|---|---|
targets | PartialTargetDescriptor [] | The partial targets which need to be completed by inference. |
Returns
Target objects fully filled out and ready to be processed by processTargets.
Defined in
core/inferFullTargets.ts:23