AutoMovie API
    Preparing search index...

    One ordered rule.

    interface IRule<Outcome extends string> {
        id: string;
        outcome: Outcome;
        when(intents: readonly IAutoMovieIntent[]): boolean;
    }

    Type Parameters

    • Outcome extends string
    Index
    id: string

    Stable rule id, reported with the outcome.

    outcome: Outcome

    The outcome it decides.