Class Index | File Index

Classes


Namespace CType


Defined in: ilib-full-dyn.js.

Namespace Summary
Constructor Attributes Constructor Name and Description
 
Provides a set of static routines that return information about characters.
Method Summary
Method Attributes Method Name and Description
<static>  
CType.withinRange(ch, rangeName)
Return whether or not the first character is within the named range of Unicode characters.
Namespace Detail
CType
Provides a set of static routines that return information about characters. These routines emulate the C-library ctype functions. The characters must be encoded in utf-16, as no other charsets are currently supported. Only the first character of the given string is tested.
Method Detail
<static> {boolean} CType.withinRange(ch, rangeName)
Return whether or not the first character is within the named range of Unicode characters. The valid list of range names are taken from the Unicode 6.0 spec. Characters in all ranges of Unicode are supported, including those supported in Javascript via UTF-16. Currently, this method supports the following range names:

Parameters:
{string|IString|number} ch
character or code point to examine
{string} rangeName
the name of the range to check
Returns:
{boolean} true if the first character is within the named range

Documentation generated by JsDoc Toolkit 2.4.0 on Tue Feb 02 2016 15:53:54 GMT-0800 (PST)