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