{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 'parse(value)'
Method: parse(value)
Method Full Name:     Boolean$parse(value)
Class: Boolean
Namespace: Global (MicrosoftAjax.debug.js)
Source File: MicrosoftAjax.debug.js
1   Boolean.parse = function Boolean$parse(value) {
2     /// <summary locid="M:J#Boolean.parse" />
3     /// <param name="value" type="String"></param>
4     /// <returns type="Boolean"></returns>
5     var e = Function._validateParams(arguments, [
6     {name: "value", type: String}
7     ]);
8     if (e) throw e;
9     var v = value.trim().toLowerCase();
10    if (v === 'false') return false;
11    if (v === 'true') return true;
12    throw Error.argumentOutOfRange('value', value, Sys.Res.boolTrueOrFalse);
13  }
This is the JavaScript source for method parse(value) from ASP.NET AJAX Library. Full name for this method is Boolean$parse(value). It belongs to the class Boolean, 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