speedbar-y-or-n-p

speedbar-y-or-n-p is a compiled Lisp function in `speedbar.el'.

(speedbar-y-or-n-p PROMPT &optional DELETING)

Like `y-or-n-p', but for use in the speedbar frame.
Argument PROMPT is the prompt to use.
Optional argument DELETING means this is a query that will delete something.
The variable `speedbar-query-confirmation-method' can cause this to
return true without a query.