🌐 US-Proxy
class="api jquery wp-singular post-template-default single single-post postid-404 single-format-standard wp-theme-jquery wp-child-theme-apijquerycom single-author singular">

jQuery.isWindow()


jQuery.isWindow( obj )Returns: booleanversion deprecated: 3.3, removed: 4.0

Description: Determine whether the argument is a window.

Note: This API has been deprecated in jQuery 3.3; if you need this function, reimplement it by yourself:

function isWindow( obj ) { return obj != null && obj === obj.window; }

This is used in a number of places in jQuery to determine if we're operating against a browser window (such as the current window or an iframe).