Edit

jQuery.isWindow()

See the Pen JQuery.isWindow() by inimist (@inimistschool)on CodePen.