isVertex(o): o is Vertex
Returns whether or not the given object is a Vertex. This method is a type guard and after using this method to test an object it can subsequently be treated as a Vertex if the method returns true.
Parameters
any
Returns
o is Vertex