It certainly acts as a conversation ender, but can also come with an air of skepticism. A convo may go like this: "I swear I've never had a sip of alcohol!" ... "Whatever you say (wink wink)". The person saying "whatever you say" thinks that, more than likely, the other person is lying. Kind of like saying "Riiiiight right".