If you've been chatting away with someone for some time, then that itself should be a sign that 2 people are friendly to each other.
But if for some reason, you haven't found such sign, and DO ask that dreaded question, you're very likely to be responded with a "Yes" because...
1. who on Earth will decline friendship?
2. who talks to peple they don't like?
But, if after all this, You STILL NEED to ask for friendship and can't just imply the new friendship, then IF you're ever been conversing with me, just remeber: