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