How can I know if a macro contains a coordinate, that is, in the sense of having the shape of a coordinate num,num.
What I want to do is to know if a given macro, \pos, has the shape (in sense of parsing) of a coordinate or not, and then do something in case it has it and do something else if the shape is not a coordinate. For example, I'm looking for a way of achieving:
\pos{0,0}
\ifcoordinate\pos
It is a coordinate
\else
It is not a coordinate
\fi
In that case, what \ifcoordinate should be? In other words, how can I know if the contents of the given macro are in the sequence: number, coma, number?.
Note that I want to use this verification, later on, in some TikZ related code, so a TikZ related solution is appreciated.

x,y,angle:radius,x,y,z,{2*4},{\x/2}, etc. – Paul Gaborit Oct 3 '12 at 15:19