Documentation
    Preparing search index...

    Interface SuccessfulPromptStateData<T>

    Provides data about the successful state of a prompt.

    interface SuccessfulPromptStateData<T = any> {
        isValid: true;
        value: T;
    }

    Type Parameters

    • T = any

      The type of the answer.

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    isValid: true

    Either a String string which describes the error of the prompt or a Boolean boolean indicating whether the prompt-value is valid.

    value: T

    The value of the prompt.