Function: minibuffer-contents-no-properties

Return the user input in a minibuffer as a string, without text-properties.
If the current buffer is not a minibuffer, return its entire contents.
(fn)