{infiniteZest}
// Articles. Tutorials. Utilities.
Home  |   Search  |   Login  
Categories Skip Navigation Links
New / All
AJAX
Apple
ASP.NET
.NET
Git
Google / Android
Python / IronPython
Miscellaneous
SQL Server
AJAX Source Viewer
View the source code of a Method from ASP.NET AJAX Library. Choose a method from the menu items above (Namespaces, Classes, or Methods).
Method 'prototype.isInstanceOfType(instance)'
Method: prototype.isInstanceOfType(instance)
Method Full Name:     Type$isInstanceOfType(instance)
Class: Type
Namespace: Global (MicrosoftAjax.debug.js)
Source File: MicrosoftAjax.debug.js
1   Type.prototype.isInstanceOfType = function Type$isInstanceOfType(instance) {
2     /// <summary locid="M:J#Type.isInstanceOfType" />
3     /// <param name="instance" mayBeNull="true"></param>
4     /// <returns type="Boolean"></returns>
5     var e = Function._validateParams(arguments, [
6     {name: "instance", mayBeNull: true}
7     ]);
8     if (e) throw e;
9     if (typeof(instance) === "undefined" || instance === null) return false;
10    if (instance instanceof this) return true;
11    var instanceType = Object.getType(instance);
12    return !!(instanceType === this) ||
13    (instanceType.inheritsFrom && instanceType.inheritsFrom(this)) ||
14    (instanceType.implementsInterface && instanceType.implementsInterface(this));
15  }
This is the JavaScript source for method prototype.isInstanceOfType(instance) from ASP.NET AJAX Library. Full name for this method is Type$isInstanceOfType(instance). It belongs to the class Type, which is in Global (MicrosoftAjax.debug.js) namespace. This source is in MicrosoftAjax.debug.js file.
Bookmark and Share This
About  Contact  Privacy Policy  Site Map