src/cm/media/js/lib/yui/yui3.0.0/api/Lang.html
changeset 0 40c8f766c9b8
equal deleted inserted replaced
-1:000000000000 0:40c8f766c9b8
       
     1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
       
     2 <html xmlns:yui="http://yuilibrary.com/rdf/1.0/yui.rdf#">
       
     3 <head>
       
     4     <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
       
     5 	<title>API: yui  Lang   (YUI Library)</title>
       
     6 
       
     7 	<link rel="stylesheet" type="text/css" href="assets/reset-fonts-grids-min.css" />
       
     8 	<link rel="stylesheet" type="text/css" href="assets/api.css" />
       
     9 
       
    10     <script type="text/javascript" src="assets/api-js"></script>
       
    11     <script type="text/javascript" src="assets/ac-js"></script>
       
    12 </head>
       
    13 
       
    14 <body id="yahoo-com">
       
    15 
       
    16 <div id="doc3" class="yui-t2">
       
    17 	<div id="hd">
       
    18         <h1><a href="http://developer.yahoo.com/yui/" title="Yahoo! UI Library">Yahoo! UI Library</a></h1>
       
    19         <h3>yui&nbsp; <span class="subtitle">3.0.0</span></h3>
       
    20         <a href="./index.html" title="Yahoo! UI Library">Yahoo! UI Library</a> 
       
    21             &gt; <a href="./module_yui.html" title="yui">yui</a>
       
    22                  &gt; Lang 
       
    23                 
       
    24         <form onsubmit="return false">
       
    25             <div id="propertysearch">
       
    26                 Search: <input autocomplete="off" id="searchinput" />
       
    27                 <div id="searchresults">
       
    28                     &nbsp;
       
    29                 </div>
       
    30             </div>
       
    31         </form>
       
    32 	</div>
       
    33 
       
    34 	<div id="bd">
       
    35 		<div id="yui-main">
       
    36 			<div class="yui-b">
       
    37             <form action="#" name="yui-classopts-form" method="get" id="yui-classopts-form">
       
    38                 <fieldset>
       
    39                     <legend>Filters</legend>
       
    40                 <span class="classopts"><input type="checkbox" name="show_private" id="show_private" /> <label for="show_private">Show Private</label></span>
       
    41                 <span class="classopts"><input type="checkbox" name="show_protected" id="show_protected" /> <label for="show_protected">Show Protected</label></span>
       
    42                 <span class="classopts"><input type="checkbox" name="show_deprecated" id="show_deprecated" /> <label for="show_deprecated">Show Deprecated</label></span>
       
    43                 </fieldset>
       
    44             </form>
       
    45 
       
    46                     <h2>
       
    47                         
       
    48 
       
    49                         <code>static</code>
       
    50                         
       
    51                             Class <b property="yui:name">Lang</b>
       
    52                         <span class="extends">
       
    53                         </span>
       
    54 
       
    55                     </h2>
       
    56                     <!-- class tree goes here -->
       
    57                     
       
    58                 
       
    59   
       
    60 
       
    61                     <div class="summary description" property="yui:description">
       
    62                         Provides the language utilites and extensions used by the library
       
    63                     </div>
       
    64 
       
    65                     
       
    66                     <div rel="yui:properties" resource="#properties">
       
    67 
       
    68                     </div>
       
    69 
       
    70                     <div rel="yui:methods" resource="#methods">
       
    71                         <div class="section method details">
       
    72                             <h3 id="methods">Methods</h3>
       
    73                             <div class="content">
       
    74                                     <div class="" rel="yui:method" resource="#method_isArray">
       
    75                                     <h4>
       
    76                                         <a name="method_isArray">isArray</a></h4>
       
    77                                     <div class="detail" >
       
    78                                         <code>
       
    79                                         
       
    80                                          static 
       
    81                                         
       
    82                                         boolean
       
    83                                             <strong property="yui:name">isArray</strong>
       
    84                                            (
       
    85                                                 
       
    86                                                         
       
    87                                                          o
       
    88                                                     
       
    89                                                 
       
    90                                             )
       
    91                                         </code>
       
    92                                         
       
    93                                         <div class="description" property="yui:description">
       
    94                                             Determines whether or not the provided item is an array.
       
    95 Returns false for array-like collections such as the
       
    96 function arguments collection or HTMLElement collection
       
    97 will return false.  You can use @see Array.test if you 
       
    98 want to
       
    99                                         </div>
       
   100 
       
   101                                         <div class="description">
       
   102 
       
   103                                                 <dl rel="yui:parameters">
       
   104                                                     <dt>Parameters:</dt>
       
   105                                                         <dd rel="yui:parameter">
       
   106                                                         <code><span property="yui:name">o</span>
       
   107                                                         &lt;<span property="yui:type">object</span>&gt;
       
   108                                                         </code>
       
   109                                                         <span property="yui:description"> The object to test</span>
       
   110                                                         </dd>
       
   111                                                 </dl>
       
   112 
       
   113                                                 <dl>
       
   114                                                     <dt>Returns:
       
   115                                                     <code property="yui:return">
       
   116                                                             boolean
       
   117                                                     </code></dt>
       
   118                                                     <dd property="yui:returnInfo">true if o is an array</dd>
       
   119                                                 </dl>
       
   120 
       
   121 
       
   122              
       
   123 
       
   124                                         </div>
       
   125 
       
   126                                     </div>
       
   127                                     <hr />
       
   128                                     </div>
       
   129                                     <div class="" rel="yui:method" resource="#method_isBoolean">
       
   130                                     <h4>
       
   131                                         <a name="method_isBoolean">isBoolean</a></h4>
       
   132                                     <div class="detail" >
       
   133                                         <code>
       
   134                                         
       
   135                                          static 
       
   136                                         
       
   137                                         boolean
       
   138                                             <strong property="yui:name">isBoolean</strong>
       
   139                                            (
       
   140                                                 
       
   141                                                         
       
   142                                                          o
       
   143                                                     
       
   144                                                 
       
   145                                             )
       
   146                                         </code>
       
   147                                         
       
   148                                         <div class="description" property="yui:description">
       
   149                                             Determines whether or not the provided item is a boolean
       
   150                                         </div>
       
   151 
       
   152                                         <div class="description">
       
   153 
       
   154                                                 <dl rel="yui:parameters">
       
   155                                                     <dt>Parameters:</dt>
       
   156                                                         <dd rel="yui:parameter">
       
   157                                                         <code><span property="yui:name">o</span>
       
   158                                                         &lt;<span property="yui:type">object</span>&gt;
       
   159                                                         </code>
       
   160                                                         <span property="yui:description"> The object to test</span>
       
   161                                                         </dd>
       
   162                                                 </dl>
       
   163 
       
   164                                                 <dl>
       
   165                                                     <dt>Returns:
       
   166                                                     <code property="yui:return">
       
   167                                                             boolean
       
   168                                                     </code></dt>
       
   169                                                     <dd property="yui:returnInfo">true if o is a boolean</dd>
       
   170                                                 </dl>
       
   171 
       
   172 
       
   173              
       
   174 
       
   175                                         </div>
       
   176 
       
   177                                     </div>
       
   178                                     <hr />
       
   179                                     </div>
       
   180                                     <div class="" rel="yui:method" resource="#method_isDate">
       
   181                                     <h4>
       
   182                                         <a name="method_isDate">isDate</a></h4>
       
   183                                     <div class="detail" >
       
   184                                         <code>
       
   185                                         
       
   186                                          static 
       
   187                                         
       
   188                                         boolean
       
   189                                             <strong property="yui:name">isDate</strong>
       
   190                                            (
       
   191                                                 
       
   192                                                         
       
   193                                                          o
       
   194                                                     
       
   195                                                 
       
   196                                             )
       
   197                                         </code>
       
   198                                         
       
   199                                         <div class="description" property="yui:description">
       
   200                                             Determines whether or not the supplied item is a date instance
       
   201                                         </div>
       
   202 
       
   203                                         <div class="description">
       
   204 
       
   205                                                 <dl rel="yui:parameters">
       
   206                                                     <dt>Parameters:</dt>
       
   207                                                         <dd rel="yui:parameter">
       
   208                                                         <code><span property="yui:name">o</span>
       
   209                                                         &lt;<span property="yui:type">object</span>&gt;
       
   210                                                         </code>
       
   211                                                         <span property="yui:description"> The object to test</span>
       
   212                                                         </dd>
       
   213                                                 </dl>
       
   214 
       
   215                                                 <dl>
       
   216                                                     <dt>Returns:
       
   217                                                     <code property="yui:return">
       
   218                                                             boolean
       
   219                                                     </code></dt>
       
   220                                                     <dd property="yui:returnInfo">true if o is a date</dd>
       
   221                                                 </dl>
       
   222 
       
   223 
       
   224              
       
   225 
       
   226                                         </div>
       
   227 
       
   228                                     </div>
       
   229                                     <hr />
       
   230                                     </div>
       
   231                                     <div class="" rel="yui:method" resource="#method_isFunction">
       
   232                                     <h4>
       
   233                                         <a name="method_isFunction">isFunction</a></h4>
       
   234                                     <div class="detail" >
       
   235                                         <code>
       
   236                                         
       
   237                                          static 
       
   238                                         
       
   239                                         boolean
       
   240                                             <strong property="yui:name">isFunction</strong>
       
   241                                            (
       
   242                                                 
       
   243                                                         
       
   244                                                          o
       
   245                                                     
       
   246                                                 
       
   247                                             )
       
   248                                         </code>
       
   249                                         
       
   250                                         <div class="description" property="yui:description">
       
   251                                             Determines whether or not the provided item is a function
       
   252 Note: Internet Explorer thinks certain functions are objects:
       
   253 var obj = document.createElement("object");
       
   254 Y.Lang.isFunction(obj.getAttribute) // reports false in IE
       
   255 var input = document.createElement("input"); // append to body
       
   256 Y.Lang.isFunction(input.focus) // reports false in IE
       
   257 You will have to implement additional tests if these functions
       
   258 matter to you.
       
   259                                         </div>
       
   260 
       
   261                                         <div class="description">
       
   262 
       
   263                                                 <dl rel="yui:parameters">
       
   264                                                     <dt>Parameters:</dt>
       
   265                                                         <dd rel="yui:parameter">
       
   266                                                         <code><span property="yui:name">o</span>
       
   267                                                         &lt;<span property="yui:type">object</span>&gt;
       
   268                                                         </code>
       
   269                                                         <span property="yui:description"> The object to test</span>
       
   270                                                         </dd>
       
   271                                                 </dl>
       
   272 
       
   273                                                 <dl>
       
   274                                                     <dt>Returns:
       
   275                                                     <code property="yui:return">
       
   276                                                             boolean
       
   277                                                     </code></dt>
       
   278                                                     <dd property="yui:returnInfo">true if o is a function</dd>
       
   279                                                 </dl>
       
   280 
       
   281 
       
   282              
       
   283 
       
   284                                         </div>
       
   285 
       
   286                                     </div>
       
   287                                     <hr />
       
   288                                     </div>
       
   289                                     <div class="" rel="yui:method" resource="#method_isNull">
       
   290                                     <h4>
       
   291                                         <a name="method_isNull">isNull</a></h4>
       
   292                                     <div class="detail" >
       
   293                                         <code>
       
   294                                         
       
   295                                          static 
       
   296                                         
       
   297                                         boolean
       
   298                                             <strong property="yui:name">isNull</strong>
       
   299                                            (
       
   300                                                 
       
   301                                                         
       
   302                                                          o
       
   303                                                     
       
   304                                                 
       
   305                                             )
       
   306                                         </code>
       
   307                                         
       
   308                                         <div class="description" property="yui:description">
       
   309                                             Determines whether or not the provided item is null
       
   310                                         </div>
       
   311 
       
   312                                         <div class="description">
       
   313 
       
   314                                                 <dl rel="yui:parameters">
       
   315                                                     <dt>Parameters:</dt>
       
   316                                                         <dd rel="yui:parameter">
       
   317                                                         <code><span property="yui:name">o</span>
       
   318                                                         &lt;<span property="yui:type">object</span>&gt;
       
   319                                                         </code>
       
   320                                                         <span property="yui:description"> The object to test</span>
       
   321                                                         </dd>
       
   322                                                 </dl>
       
   323 
       
   324                                                 <dl>
       
   325                                                     <dt>Returns:
       
   326                                                     <code property="yui:return">
       
   327                                                             boolean
       
   328                                                     </code></dt>
       
   329                                                     <dd property="yui:returnInfo">true if o is null</dd>
       
   330                                                 </dl>
       
   331 
       
   332 
       
   333              
       
   334 
       
   335                                         </div>
       
   336 
       
   337                                     </div>
       
   338                                     <hr />
       
   339                                     </div>
       
   340                                     <div class="" rel="yui:method" resource="#method_isNumber">
       
   341                                     <h4>
       
   342                                         <a name="method_isNumber">isNumber</a></h4>
       
   343                                     <div class="detail" >
       
   344                                         <code>
       
   345                                         
       
   346                                          static 
       
   347                                         
       
   348                                         boolean
       
   349                                             <strong property="yui:name">isNumber</strong>
       
   350                                            (
       
   351                                                 
       
   352                                                         
       
   353                                                          o
       
   354                                                     
       
   355                                                 
       
   356                                             )
       
   357                                         </code>
       
   358                                         
       
   359                                         <div class="description" property="yui:description">
       
   360                                             Determines whether or not the provided item is a legal number
       
   361                                         </div>
       
   362 
       
   363                                         <div class="description">
       
   364 
       
   365                                                 <dl rel="yui:parameters">
       
   366                                                     <dt>Parameters:</dt>
       
   367                                                         <dd rel="yui:parameter">
       
   368                                                         <code><span property="yui:name">o</span>
       
   369                                                         &lt;<span property="yui:type">object</span>&gt;
       
   370                                                         </code>
       
   371                                                         <span property="yui:description"> The object to test</span>
       
   372                                                         </dd>
       
   373                                                 </dl>
       
   374 
       
   375                                                 <dl>
       
   376                                                     <dt>Returns:
       
   377                                                     <code property="yui:return">
       
   378                                                             boolean
       
   379                                                     </code></dt>
       
   380                                                     <dd property="yui:returnInfo">true if o is a number</dd>
       
   381                                                 </dl>
       
   382 
       
   383 
       
   384              
       
   385 
       
   386                                         </div>
       
   387 
       
   388                                     </div>
       
   389                                     <hr />
       
   390                                     </div>
       
   391                                     <div class="" rel="yui:method" resource="#method_isObject">
       
   392                                     <h4>
       
   393                                         <a name="method_isObject">isObject</a></h4>
       
   394                                     <div class="detail" >
       
   395                                         <code>
       
   396                                         
       
   397                                          static 
       
   398                                         
       
   399                                         boolean
       
   400                                             <strong property="yui:name">isObject</strong>
       
   401                                            (
       
   402                                                 
       
   403                                                         
       
   404                                                          o
       
   405                                                     
       
   406                                                 
       
   407                                                         , 
       
   408                                                          failfn
       
   409                                                     
       
   410                                                 
       
   411                                             )
       
   412                                         </code>
       
   413                                         
       
   414                                         <div class="description" property="yui:description">
       
   415                                             Determines whether or not the provided item is of type object
       
   416 or function
       
   417                                         </div>
       
   418 
       
   419                                         <div class="description">
       
   420 
       
   421                                                 <dl rel="yui:parameters">
       
   422                                                     <dt>Parameters:</dt>
       
   423                                                         <dd rel="yui:parameter">
       
   424                                                         <code><span property="yui:name">o</span>
       
   425                                                         &lt;<span property="yui:type">object</span>&gt;
       
   426                                                         </code>
       
   427                                                         <span property="yui:description"> The object to test</span>
       
   428                                                         </dd>
       
   429                                                         <dd rel="yui:parameter">
       
   430                                                         <code><span property="yui:name">failfn</span>
       
   431                                                         &lt;<span property="yui:type">boolean</span>&gt;
       
   432                                                         </code>
       
   433                                                         <span property="yui:description">  fail if the input is a function</span>
       
   434                                                         </dd>
       
   435                                                 </dl>
       
   436 
       
   437                                                 <dl>
       
   438                                                     <dt>Returns:
       
   439                                                     <code property="yui:return">
       
   440                                                             boolean
       
   441                                                     </code></dt>
       
   442                                                     <dd property="yui:returnInfo">true if o is an object</dd>
       
   443                                                 </dl>
       
   444 
       
   445 
       
   446              
       
   447 
       
   448                                         </div>
       
   449 
       
   450                                     </div>
       
   451                                     <hr />
       
   452                                     </div>
       
   453                                     <div class="" rel="yui:method" resource="#method_isString">
       
   454                                     <h4>
       
   455                                         <a name="method_isString">isString</a></h4>
       
   456                                     <div class="detail" >
       
   457                                         <code>
       
   458                                         
       
   459                                          static 
       
   460                                         
       
   461                                         boolean
       
   462                                             <strong property="yui:name">isString</strong>
       
   463                                            (
       
   464                                                 
       
   465                                                         
       
   466                                                          o
       
   467                                                     
       
   468                                                 
       
   469                                             )
       
   470                                         </code>
       
   471                                         
       
   472                                         <div class="description" property="yui:description">
       
   473                                             Determines whether or not the provided item is a string
       
   474                                         </div>
       
   475 
       
   476                                         <div class="description">
       
   477 
       
   478                                                 <dl rel="yui:parameters">
       
   479                                                     <dt>Parameters:</dt>
       
   480                                                         <dd rel="yui:parameter">
       
   481                                                         <code><span property="yui:name">o</span>
       
   482                                                         &lt;<span property="yui:type">object</span>&gt;
       
   483                                                         </code>
       
   484                                                         <span property="yui:description"> The object to test</span>
       
   485                                                         </dd>
       
   486                                                 </dl>
       
   487 
       
   488                                                 <dl>
       
   489                                                     <dt>Returns:
       
   490                                                     <code property="yui:return">
       
   491                                                             boolean
       
   492                                                     </code></dt>
       
   493                                                     <dd property="yui:returnInfo">true if o is a string</dd>
       
   494                                                 </dl>
       
   495 
       
   496 
       
   497              
       
   498 
       
   499                                         </div>
       
   500 
       
   501                                     </div>
       
   502                                     <hr />
       
   503                                     </div>
       
   504                                     <div class="" rel="yui:method" resource="#method_isUndefined">
       
   505                                     <h4>
       
   506                                         <a name="method_isUndefined">isUndefined</a></h4>
       
   507                                     <div class="detail" >
       
   508                                         <code>
       
   509                                         
       
   510                                          static 
       
   511                                         
       
   512                                         boolean
       
   513                                             <strong property="yui:name">isUndefined</strong>
       
   514                                            (
       
   515                                                 
       
   516                                                         
       
   517                                                          o
       
   518                                                     
       
   519                                                 
       
   520                                             )
       
   521                                         </code>
       
   522                                         
       
   523                                         <div class="description" property="yui:description">
       
   524                                             Determines whether or not the provided item is undefined
       
   525                                         </div>
       
   526 
       
   527                                         <div class="description">
       
   528 
       
   529                                                 <dl rel="yui:parameters">
       
   530                                                     <dt>Parameters:</dt>
       
   531                                                         <dd rel="yui:parameter">
       
   532                                                         <code><span property="yui:name">o</span>
       
   533                                                         &lt;<span property="yui:type">object</span>&gt;
       
   534                                                         </code>
       
   535                                                         <span property="yui:description"> The object to test</span>
       
   536                                                         </dd>
       
   537                                                 </dl>
       
   538 
       
   539                                                 <dl>
       
   540                                                     <dt>Returns:
       
   541                                                     <code property="yui:return">
       
   542                                                             boolean
       
   543                                                     </code></dt>
       
   544                                                     <dd property="yui:returnInfo">true if o is undefined</dd>
       
   545                                                 </dl>
       
   546 
       
   547 
       
   548              
       
   549 
       
   550                                         </div>
       
   551 
       
   552                                     </div>
       
   553                                     <hr />
       
   554                                     </div>
       
   555                                     <div class="" rel="yui:method" resource="#method_isValue">
       
   556                                     <h4>
       
   557                                         <a name="method_isValue">isValue</a></h4>
       
   558                                     <div class="detail" >
       
   559                                         <code>
       
   560                                         
       
   561                                          static 
       
   562                                         
       
   563                                         boolean
       
   564                                             <strong property="yui:name">isValue</strong>
       
   565                                            (
       
   566                                                 
       
   567                                                         
       
   568                                                          o
       
   569                                                     
       
   570                                                 
       
   571                                             )
       
   572                                         </code>
       
   573                                         
       
   574                                         <div class="description" property="yui:description">
       
   575                                             A convenience method for detecting a legitimate non-null value.
       
   576 Returns false for null/undefined/NaN, true for other values, 
       
   577 including 0/false/''
       
   578                                         </div>
       
   579 
       
   580                                         <div class="description">
       
   581 
       
   582                                                 <dl rel="yui:parameters">
       
   583                                                     <dt>Parameters:</dt>
       
   584                                                         <dd rel="yui:parameter">
       
   585                                                         <code><span property="yui:name">o</span>
       
   586                                                         &lt;<span property="yui:type">object</span>&gt;
       
   587                                                         </code>
       
   588                                                         <span property="yui:description"> The item to test</span>
       
   589                                                         </dd>
       
   590                                                 </dl>
       
   591 
       
   592                                                 <dl>
       
   593                                                     <dt>Returns:
       
   594                                                     <code property="yui:return">
       
   595                                                             boolean
       
   596                                                     </code></dt>
       
   597                                                     <dd property="yui:returnInfo">true if it is not null/undefined/NaN || false</dd>
       
   598                                                 </dl>
       
   599 
       
   600 
       
   601              
       
   602 
       
   603                                         </div>
       
   604 
       
   605                                     </div>
       
   606                                     <hr />
       
   607                                     </div>
       
   608                                     <div class="" rel="yui:method" resource="#method_trim">
       
   609                                     <h4>
       
   610                                         <a name="method_trim">trim</a></h4>
       
   611                                     <div class="detail" >
       
   612                                         <code>
       
   613                                         
       
   614                                          static 
       
   615                                         
       
   616                                         string
       
   617                                             <strong property="yui:name">trim</strong>
       
   618                                            (
       
   619                                                 
       
   620                                                         
       
   621                                                          s
       
   622                                                     
       
   623                                                 
       
   624                                             )
       
   625                                         </code>
       
   626                                         
       
   627                                         <div class="description" property="yui:description">
       
   628                                             Returns a string without any leading or trailing whitespace.  If 
       
   629 the input is not a string, the input will be returned untouched.
       
   630                                         </div>
       
   631 
       
   632                                         <div class="description">
       
   633 
       
   634                                                 <dl rel="yui:parameters">
       
   635                                                     <dt>Parameters:</dt>
       
   636                                                         <dd rel="yui:parameter">
       
   637                                                         <code><span property="yui:name">s</span>
       
   638                                                         &lt;<span property="yui:type">string</span>&gt;
       
   639                                                         </code>
       
   640                                                         <span property="yui:description">  the string to trim</span>
       
   641                                                         </dd>
       
   642                                                 </dl>
       
   643 
       
   644                                                 <dl>
       
   645                                                     <dt>Returns:
       
   646                                                     <code property="yui:return">
       
   647                                                             string
       
   648                                                     </code></dt>
       
   649                                                     <dd property="yui:returnInfo">the trimmed string</dd>
       
   650                                                 </dl>
       
   651 
       
   652 
       
   653              
       
   654 
       
   655                                         </div>
       
   656 
       
   657                                     </div>
       
   658                                     <hr />
       
   659                                     </div>
       
   660                                     <div class="" rel="yui:method" resource="#method_type">
       
   661                                     <h4>
       
   662                                         <a name="method_type">type</a></h4>
       
   663                                     <div class="detail" >
       
   664                                         <code>
       
   665                                         
       
   666                                         
       
   667                                         
       
   668                                         string
       
   669                                             <strong property="yui:name">type</strong>
       
   670                                            (
       
   671                                                 
       
   672                                                         
       
   673                                                          o
       
   674                                                     
       
   675                                                 
       
   676                                             )
       
   677                                         </code>
       
   678                                         
       
   679                                         <div class="description" property="yui:description">
       
   680                                             Returns a string representing the type of the item passed in.
       
   681                                         </div>
       
   682 
       
   683                                         <div class="description">
       
   684 
       
   685                                                 <dl rel="yui:parameters">
       
   686                                                     <dt>Parameters:</dt>
       
   687                                                         <dd rel="yui:parameter">
       
   688                                                         <code><span property="yui:name">o</span>
       
   689                                                         &lt;<span property="yui:type">object</span>&gt;
       
   690                                                         </code>
       
   691                                                         <span property="yui:description"> the item to test</span>
       
   692                                                         </dd>
       
   693                                                 </dl>
       
   694 
       
   695                                                 <dl>
       
   696                                                     <dt>Returns:
       
   697                                                     <code property="yui:return">
       
   698                                                             string
       
   699                                                     </code></dt>
       
   700                                                     <dd property="yui:returnInfo">the detected type</dd>
       
   701                                                 </dl>
       
   702 
       
   703 
       
   704              
       
   705 
       
   706                                         </div>
       
   707 
       
   708                                     </div>
       
   709                                     <hr />
       
   710                                     </div>
       
   711                             </div>
       
   712                         </div>
       
   713 
       
   714                     </div>
       
   715 
       
   716                     <div rel="yui:events" resource="#events">
       
   717 
       
   718 
       
   719                     </div>
       
   720 
       
   721                     <div rel="yui:attributes" resource="#configattributes">
       
   722 
       
   723                     </div>
       
   724 
       
   725 			</div>
       
   726 		</div>
       
   727 		<div class="yui-b">
       
   728             <div class="nav">
       
   729 
       
   730                     <div id="moduleList" class="module">
       
   731                         <h4>Modules</h4>
       
   732                         <ul class="content">
       
   733                                 <li class=""><a href="module_anim.html" title="anim">anim</a></li>
       
   734                                 <li class=""><a href="module_async-queue.html" title="async-queue">async-queue</a></li>
       
   735                                 <li class=""><a href="module_attribute.html" title="attribute">attribute</a></li>
       
   736                                 <li class=""><a href="module_base.html" title="base">base</a></li>
       
   737                                 <li class=""><a href="module_cache.html" title="cache">cache</a></li>
       
   738                                 <li class=""><a href="module_classnamemanager.html" title="classnamemanager">classnamemanager</a></li>
       
   739                                 <li class=""><a href="module_collection.html" title="collection">collection</a></li>
       
   740                                 <li class=""><a href="module_console.html" title="console">console</a></li>
       
   741                                 <li class=""><a href="module_console-filters.html" title="console-filters">console-filters</a></li>
       
   742                                 <li class=""><a href="module_cookie.html" title="cookie">cookie</a></li>
       
   743                                 <li class=""><a href="module_dataschema.html" title="dataschema">dataschema</a></li>
       
   744                                 <li class=""><a href="module_datasource.html" title="datasource">datasource</a></li>
       
   745                                 <li class=""><a href="module_datatype.html" title="datatype">datatype</a></li>
       
   746                                 <li class=""><a href="module_dd.html" title="dd">dd</a></li>
       
   747                                 <li class=""><a href="module_dom.html" title="dom">dom</a></li>
       
   748                                 <li class=""><a href="module_dump.html" title="dump">dump</a></li>
       
   749                                 <li class=""><a href="module_event.html" title="event">event</a></li>
       
   750                                 <li class=""><a href="module_event-custom.html" title="event-custom">event-custom</a></li>
       
   751                                 <li class=""><a href="module_event-simulate.html" title="event-simulate">event-simulate</a></li>
       
   752                                 <li class=""><a href="module_history.html" title="history">history</a></li>
       
   753                                 <li class=""><a href="module_imageloader.html" title="imageloader">imageloader</a></li>
       
   754                                 <li class=""><a href="module_io.html" title="io">io</a></li>
       
   755                                 <li class=""><a href="module_json.html" title="json">json</a></li>
       
   756                                 <li class=""><a href="module_node.html" title="node">node</a></li>
       
   757                                 <li class=""><a href="module_node-focusmanager.html" title="node-focusmanager">node-focusmanager</a></li>
       
   758                                 <li class=""><a href="module_node-menunav.html" title="node-menunav">node-menunav</a></li>
       
   759                                 <li class=""><a href="module_oop.html" title="oop">oop</a></li>
       
   760                                 <li class=""><a href="module_overlay.html" title="overlay">overlay</a></li>
       
   761                                 <li class=""><a href="module_plugin.html" title="plugin">plugin</a></li>
       
   762                                 <li class=""><a href="module_profiler.html" title="profiler">profiler</a></li>
       
   763                                 <li class=""><a href="module_queue-promote.html" title="queue-promote">queue-promote</a></li>
       
   764                                 <li class=""><a href="module_slider.html" title="slider">slider</a></li>
       
   765                                 <li class=""><a href="module_stylesheet.html" title="stylesheet">stylesheet</a></li>
       
   766                                 <li class=""><a href="module_substitute.html" title="substitute">substitute</a></li>
       
   767                                 <li class=""><a href="module_test.html" title="test">test</a></li>
       
   768                                 <li class=""><a href="module_widget.html" title="widget">widget</a></li>
       
   769                                 <li class=""><a href="module_widget-position.html" title="widget-position">widget-position</a></li>
       
   770                                 <li class=""><a href="module_widget-position-ext.html" title="widget-position-ext">widget-position-ext</a></li>
       
   771                                 <li class=""><a href="module_widget-stack.html" title="widget-stack">widget-stack</a></li>
       
   772                                 <li class=""><a href="module_widget-stdmod.html" title="widget-stdmod">widget-stdmod</a></li>
       
   773                                 <li class="selected"><a href="module_yui.html" title="yui">yui</a></li>
       
   774                         </ul>
       
   775                     </div>
       
   776 
       
   777                     <div id="classList" class="module">
       
   778                         <h4>Classes</h4>
       
   779                         <ul class="content">
       
   780                                 <li class=""><a href="Array.html" title="Array">Array</a></li>
       
   781                                 <li class=""><a href="config.html" title="config">config</a></li>
       
   782                                 <li class=""><a href="Get.html" title="Get">Get</a></li>
       
   783                                 <li class="selected"><a href="Lang.html" title="Lang">Lang</a></li>
       
   784                                 <li class=""><a href="Object.html" title="Object">Object</a></li>
       
   785                                 <li class=""><a href="Queue.html" title="Queue">Queue</a></li>
       
   786                                 <li class=""><a href="UA.html" title="UA">UA</a></li>
       
   787                                 <li class=""><a href="YUI.html" title="YUI">YUI</a></li>
       
   788                         </ul>
       
   789                     </div>
       
   790 
       
   791                     <div id="fileList" class="module">
       
   792                         <h4>Files</h4>
       
   793                         <ul class="content">        
       
   794                                 <li class=""><a href="_module.js.html" title="_module.js">_module.js</a></li>
       
   795                                 <li class=""><a href="get.js.html" title="get.js">get.js</a></li>
       
   796                                 <li class=""><a href="queue-base.js.html" title="queue-base.js">queue-base.js</a></li>
       
   797                                 <li class=""><a href="yui-array.js.html" title="yui-array.js">yui-array.js</a></li>
       
   798                                 <li class=""><a href="yui-base.js.html" title="yui-base.js">yui-base.js</a></li>
       
   799                                 <li class=""><a href="yui-core.js.html" title="yui-core.js">yui-core.js</a></li>
       
   800                                 <li class=""><a href="yui-init.js.html" title="yui-init.js">yui-init.js</a></li>
       
   801                                 <li class=""><a href="yui-lang.js.html" title="yui-lang.js">yui-lang.js</a></li>
       
   802                                 <li class=""><a href="yui-later.js.html" title="yui-later.js">yui-later.js</a></li>
       
   803                                 <li class=""><a href="yui-log.js.html" title="yui-log.js">yui-log.js</a></li>
       
   804                                 <li class=""><a href="yui-object.js.html" title="yui-object.js">yui-object.js</a></li>
       
   805                                 <li class=""><a href="yui-ua.js.html" title="yui-ua.js">yui-ua.js</a></li>
       
   806                                 <li class=""><a href="yui.js.html" title="yui.js">yui.js</a></li>
       
   807                         </ul>
       
   808                     </div>
       
   809 
       
   810 
       
   811                     <div id="methodsList" class="module">
       
   812                         <h4>Methods</h4>
       
   813                         <ul class="content">        
       
   814                                 <li class=""><a href="#method_isArray" title="isArray">isArray</a></li>
       
   815                                 <li class=""><a href="#method_isBoolean" title="isBoolean">isBoolean</a></li>
       
   816                                 <li class=""><a href="#method_isDate" title="isDate">isDate</a></li>
       
   817                                 <li class=""><a href="#method_isFunction" title="isFunction">isFunction</a></li>
       
   818                                 <li class=""><a href="#method_isNull" title="isNull">isNull</a></li>
       
   819                                 <li class=""><a href="#method_isNumber" title="isNumber">isNumber</a></li>
       
   820                                 <li class=""><a href="#method_isObject" title="isObject">isObject</a></li>
       
   821                                 <li class=""><a href="#method_isString" title="isString">isString</a></li>
       
   822                                 <li class=""><a href="#method_isUndefined" title="isUndefined">isUndefined</a></li>
       
   823                                 <li class=""><a href="#method_isValue" title="isValue">isValue</a></li>
       
   824                                 <li class=""><a href="#method_trim" title="trim">trim</a></li>
       
   825                                 <li class=""><a href="#method_type" title="type">type</a></li>
       
   826                         </ul>
       
   827                     </div>
       
   828 
       
   829 
       
   830 
       
   831             </div>
       
   832 		</div>
       
   833 	</div>
       
   834 	<div id="ft">
       
   835         <hr />
       
   836         Copyright &copy; 2009 Yahoo! Inc. All rights reserved.
       
   837 	</div>
       
   838 </div>
       
   839 <script type="text/javascript">
       
   840     ALL_YUI_PROPS = [{"access": "", "host": "Object", "name": "()", "url": "Object.html#method_()", "type": "method"}, {"access": "", "host": "Array", "name": "()", "url": "Array.html#method_()", "type": "method"}, {"access": "", "host": "Get", "name": "abort", "url": "Get.html#method_abort", "type": "method"}, {"access": "", "host": "YUI", "name": "add", "url": "YUI.html#method_add", "type": "method"}, {"access": "", "host": "Queue", "name": "add", "url": "Queue.html#method_add", "type": "method"}, {"access": "", "host": "YUI", "name": "after", "url": "YUI.html#method_after", "type": "method"}, {"access": "", "host": "UA", "name": "air", "url": "UA.html#property_air", "type": "property"}, {"access": "", "host": "YUI", "name": "applyTo", "url": "YUI.html#method_applyTo", "type": "method"}, {"access": "private", "host": "Get", "name": "_autoPurge", "url": "Get.html#method__autoPurge", "type": "method"}, {"access": "", "host": "YUI", "name": "available", "url": "YUI.html#event_available", "type": "event"}, {"access": "", "host": "config", "name": "base", "url": "config.html#property_base", "type": "property"}, {"access": "", "host": "YUI", "name": "blur", "url": "YUI.html#event_blur", "type": "event"}, {"access": "", "host": "config", "name": "bootstrap", "url": "config.html#property_bootstrap", "type": "property"}, {"access": "", "host": "YUI", "name": "cached", "url": "YUI.html#method_cached", "type": "method"}, {"access": "", "host": "UA", "name": "caja", "url": "UA.html#property_caja", "type": "property"}, {"access": "", "host": "config", "name": "charset", "url": "config.html#property_charset", "type": "property"}, {"access": "", "host": "config", "name": "combine", "url": "config.html#property_combine", "type": "property"}, {"access": "", "host": "config", "name": "comboBase", "url": "config.html#property_comboBase", "type": "property"}, {"access": "", "host": "YUI", "name": "contentready", "url": "YUI.html#event_contentready", "type": "event"}, {"access": "", "host": "config", "name": "core", "url": "config.html#property_core", "type": "property"}, {"access": "", "host": "Get", "name": "css", "url": "Get.html#method_css", "type": "method"}, {"access": "", "host": "config", "name": "cssAttributes", "url": "config.html#property_cssAttributes", "type": "property"}, {"access": "", "host": "config", "name": "dateFormat", "url": "config.html#property_dateFormat", "type": "property"}, {"access": "", "host": "YUI", "name": "delegate", "url": "YUI.html#method_delegate", "type": "method"}, {"access": "", "host": "YUI", "name": "delegate", "url": "YUI.html#event_delegate", "type": "event"}, {"access": "", "host": "config", "name": "doc", "url": "config.html#property_doc", "type": "property"}, {"access": "", "host": "Object", "name": "each", "url": "Object.html#method_each", "type": "method"}, {"access": "", "host": "Array", "name": "each", "url": "Array.html#method_each", "type": "method"}, {"access": "private", "host": "Get", "name": "_end", "url": "Get.html#method__end", "type": "method"}, {"access": "", "host": "YUI", "name": "error", "url": "YUI.html#method_error", "type": "method"}, {"access": "private", "host": "Object", "name": "_extract", "url": "Object.html#method__extract", "type": "method"}, {"access": "", "host": "config", "name": "fetchCSS", "url": "config.html#property_fetchCSS", "type": "property"}, {"access": "", "host": "config", "name": "filter", "url": "config.html#property_filter", "type": "property"}, {"access": "", "host": "config", "name": "filters", "url": "config.html#property_filters", "type": "property"}, {"access": "private", "host": "Get", "name": "_finalize", "url": "Get.html#method__finalize", "type": "method"}, {"access": "private", "host": "Get", "name": "_finish", "url": "Get.html#method__finish", "type": "method"}, {"access": "", "host": "YUI", "name": "focus", "url": "YUI.html#event_focus", "type": "event"}, {"access": "", "host": "config", "name": "force", "url": "config.html#property_force", "type": "property"}, {"access": "", "host": "UA", "name": "gecko", "url": "UA.html#property_gecko", "type": "property"}, {"access": "", "host": "Object", "name": "getValue", "url": "Object.html#method_getValue", "type": "method"}, {"access": "", "host": "YUI", "name": "Global", "url": "YUI.html#property_Global", "type": "property"}, {"access": "", "host": "YUI", "name": "guid", "url": "YUI.html#method_guid", "type": "method"}, {"access": "", "host": "Array", "name": "hash", "url": "Array.html#method_hash", "type": "method"}, {"access": "", "host": "Object", "name": "hasKey", "url": "Object.html#method_hasKey", "type": "method"}, {"access": "", "host": "Object", "name": "hasValue", "url": "Object.html#method_hasValue", "type": "method"}, {"access": "", "host": "UA", "name": "ie", "url": "UA.html#property_ie", "type": "property"}, {"access": "", "host": "config", "name": "ignore", "url": "config.html#property_ignore", "type": "property"}, {"access": "", "host": "Array", "name": "indexOf", "url": "Array.html#method_indexOf", "type": "method"}, {"access": "", "host": "Queue", "name": "indexOf", "url": "Queue.html#method_indexOf", "type": "method"}, {"access": "private", "host": "YUI", "name": "_init", "url": "YUI.html#method__init", "type": "method"}, {"access": "protected", "host": "Queue", "name": "_init", "url": "Queue.html#method__init", "type": "method"}, {"access": "", "host": "config", "name": "injected", "url": "config.html#property_injected", "type": "property"}, {"access": "", "host": "config", "name": "insertBefore", "url": "config.html#property_insertBefore", "type": "property"}, {"access": "", "host": "Lang", "name": "isArray", "url": "Lang.html#method_isArray", "type": "method"}, {"access": "", "host": "Lang", "name": "isBoolean", "url": "Lang.html#method_isBoolean", "type": "method"}, {"access": "", "host": "Lang", "name": "isDate", "url": "Lang.html#method_isDate", "type": "method"}, {"access": "", "host": "Lang", "name": "isFunction", "url": "Lang.html#method_isFunction", "type": "method"}, {"access": "", "host": "Lang", "name": "isNull", "url": "Lang.html#method_isNull", "type": "method"}, {"access": "", "host": "Lang", "name": "isNumber", "url": "Lang.html#method_isNumber", "type": "method"}, {"access": "", "host": "Lang", "name": "isObject", "url": "Lang.html#method_isObject", "type": "method"}, {"access": "", "host": "Lang", "name": "isString", "url": "Lang.html#method_isString", "type": "method"}, {"access": "", "host": "Lang", "name": "isUndefined", "url": "Lang.html#method_isUndefined", "type": "method"}, {"access": "", "host": "Lang", "name": "isValue", "url": "Lang.html#method_isValue", "type": "method"}, {"access": "", "host": "config", "name": "jsAttributes", "url": "config.html#property_jsAttributes", "type": "property"}, {"access": "", "host": "YUI", "name": "key", "url": "YUI.html#event_key", "type": "event"}, {"access": "", "host": "Object", "name": "keys", "url": "Object.html#method_keys", "type": "method"}, {"access": "", "host": "YUI", "name": "later", "url": "YUI.html#method_later", "type": "method"}, {"access": "private", "host": "Get", "name": "_linkNode", "url": "Get.html#method__linkNode", "type": "method"}, {"access": "", "host": "config", "name": "loaderPath", "url": "config.html#property_loaderPath", "type": "property"}, {"access": "", "host": "config", "name": "locale", "url": "config.html#property_locale", "type": "property"}, {"access": "", "host": "YUI", "name": "log", "url": "YUI.html#method_log", "type": "method"}, {"access": "", "host": "config", "name": "logExclude", "url": "config.html#property_logExclude", "type": "property"}, {"access": "", "host": "config", "name": "logInclude", "url": "config.html#property_logInclude", "type": "property"}, {"access": "", "host": "YUI", "name": "merge", "url": "YUI.html#method_merge", "type": "method"}, {"access": "", "host": "YUI", "name": "message", "url": "YUI.html#method_message", "type": "method"}, {"access": "", "host": "YUI", "name": "mix", "url": "YUI.html#method_mix", "type": "method"}, {"access": "", "host": "UA", "name": "mobile", "url": "UA.html#property_mobile", "type": "property"}, {"access": "", "host": "config", "name": "modules", "url": "config.html#property_modules", "type": "property"}, {"access": "", "host": "YUI", "name": "mouseenter", "url": "YUI.html#event_mouseenter", "type": "event"}, {"access": "", "host": "YUI", "name": "mouseleave", "url": "YUI.html#event_mouseleave", "type": "event"}, {"access": "", "host": "YUI", "name": "mousewheel", "url": "YUI.html#event_mousewheel", "type": "event"}, {"access": "", "host": "YUI", "name": "namespace", "url": "YUI.html#method_namespace", "type": "method"}, {"access": "private", "host": "Get", "name": "_next", "url": "Get.html#method__next", "type": "method"}, {"access": "", "host": "Queue", "name": "next", "url": "Queue.html#method_next", "type": "method"}, {"access": "private", "host": "Get", "name": "_node", "url": "Get.html#method__node", "type": "method"}, {"access": "", "host": "YUI", "name": "Node.plug", "url": "YUI.html#method_Node.plug", "type": "method"}, {"access": "", "host": "YUI", "name": "Node.unplug", "url": "YUI.html#method_Node.unplug", "type": "method"}, {"access": "", "host": "Array", "name": "numericSort", "url": "Array.html#method_numericSort", "type": "method"}, {"access": "", "host": "YUI", "name": "on", "url": "YUI.html#method_on", "type": "method"}, {"access": "", "host": "config", "name": "onCSS", "url": "config.html#property_onCSS", "type": "property"}, {"access": "", "host": "UA", "name": "opera", "url": "UA.html#property_opera", "type": "property"}, {"access": "", "host": "UA", "name": "os", "url": "UA.html#property_os", "type": "property"}, {"access": "", "host": "Object", "name": "owns", "url": "Object.html#method_owns", "type": "method"}, {"access": "", "host": "config", "name": "pollInterval", "url": "config.html#property_pollInterval", "type": "property"}, {"access": "", "host": "Queue", "name": "promote", "url": "Queue.html#method_promote", "type": "method"}, {"access": "private", "host": "Get", "name": "_purge", "url": "Get.html#method__purge", "type": "method"}, {"access": "private", "host": "Get", "name": "PURGE_THRESH", "url": "Get.html#property_PURGE_THRESH", "type": "property"}, {"access": "", "host": "config", "name": "purgethreshold", "url": "config.html#property_purgethreshold", "type": "property"}, {"access": "private", "host": "Get", "name": "purging", "url": "Get.html#property_purging", "type": "property"}, {"access": "protected", "host": "Queue", "name": "_q", "url": "Queue.html#property__q", "type": "property"}, {"access": "private", "host": "Get", "name": "qidx", "url": "Get.html#property_qidx", "type": "property"}, {"access": "private", "host": "Get", "name": "queue", "url": "Get.html#method_queue", "type": "method"}, {"access": "private", "host": "Get", "name": "queues", "url": "Get.html#property_queues", "type": "property"}, {"access": "", "host": "Queue", "name": "remove", "url": "Queue.html#method_remove", "type": "method"}, {"access": "private", "host": "Get", "name": "_returnData", "url": "Get.html#method__returnData", "type": "method"}, {"access": "", "host": "config", "name": "root", "url": "config.html#property_root", "type": "property"}, {"access": "", "host": "Get", "name": "script", "url": "Get.html#method_script", "type": "method"}, {"access": "private", "host": "Get", "name": "_scriptNode", "url": "Get.html#method__scriptNode", "type": "method"}, {"access": "", "host": "UA", "name": "secure", "url": "UA.html#property_secure", "type": "property"}, {"access": "", "host": "config", "name": "secureBase", "url": "config.html#property_secureBase", "type": "property"}, {"access": "private", "host": "YUI", "name": "_setup", "url": "YUI.html#method__setup", "type": "method"}, {"access": "", "host": "Object", "name": "setValue", "url": "Object.html#method_setValue", "type": "method"}, {"access": "", "host": "YUI", "name": "simulate", "url": "YUI.html#method_simulate", "type": "method"}, {"access": "", "host": "Object", "name": "size", "url": "Object.html#method_size", "type": "method"}, {"access": "", "host": "Queue", "name": "size", "url": "Queue.html#method_size", "type": "method"}, {"access": "", "host": "Array", "name": "some", "url": "Array.html#method_some", "type": "method"}, {"access": "", "host": "YUI", "name": "stamp", "url": "YUI.html#method_stamp", "type": "method"}, {"access": "", "host": "Array", "name": "test", "url": "Array.html#method_test", "type": "method"}, {"access": "", "host": "config", "name": "throwFail", "url": "config.html#property_throwFail", "type": "property"}, {"access": "", "host": "config", "name": "timeout", "url": "config.html#property_timeout", "type": "property"}, {"access": "private", "host": "Get", "name": "_timeout", "url": "Get.html#method__timeout", "type": "method"}, {"access": "private", "host": "Get", "name": "_track", "url": "Get.html#method__track", "type": "method"}, {"access": "", "host": "Lang", "name": "trim", "url": "Lang.html#method_trim", "type": "method"}, {"access": "", "host": "Lang", "name": "type", "url": "Lang.html#method_type", "type": "method"}, {"access": "", "host": "YUI", "name": "use", "url": "YUI.html#method_use", "type": "method"}, {"access": "", "host": "config", "name": "useBrowserConsole", "url": "config.html#property_useBrowserConsole", "type": "property"}, {"access": "", "host": "Object", "name": "values", "url": "Object.html#method_values", "type": "method"}, {"access": "", "host": "UA", "name": "webkit", "url": "UA.html#property_webkit", "type": "property"}, {"access": "", "host": "config", "name": "win", "url": "config.html#property_win", "type": "property"}, {"access": "", "host": "YUI", "name": "windowresize", "url": "YUI.html#event_windowresize", "type": "event"}, {"access": "", "host": "config", "name": "windowResizeDelay", "url": "config.html#property_windowResizeDelay", "type": "property"}];
       
   841 </script>
       
   842 </body>
       
   843 </html>