public/ckeditor/_source/core/dom/element.js
function()
		{
			var name = this.getName();
			for ( var i = 0 ; i < arguments.length ; i++ )
			{
				if ( arguments[ i ] == name )
					return true;
			}
			return false;
		}
function()
		{
			var name = this.getName();
			for ( var i = 0 ; i < arguments.length ; i++ )
			{
				if ( arguments[ i ] == name )
					return true;
			}
			return false;
		}
function ( ) { var name = this . getName ( ) ; for ( var i = 0 ; i < arguments . length ; i ++ ) { if ( arguments [ i ] == name ) return true ; } return false ; }
Checks if the element name matches one or more names.
@param {String} name[,name[,...]] One or more names to be checked.
@returns {Boolean} true if the element name matches any of the names.
@example
var element = new CKEDITOR.element( 'span' );
alert( <b>element.is( 'span' )</b> );  "true"
alert( <b>element.is( 'p', 'span' )</b> );  "true"
alert( <b>element.is( 'p' )</b> );  "false"
alert( <b>element.is( 'p', 'div' )</b> );  "false"
Checks if the element name matches one or more names .