Function confirm

  • Asks the user for confirmation.

    Parameters

    • msg: string

      The message which will be printed as the question. Defaults to "Confirm".

    Returns Promise<boolean>