@signature
documentjs.tags.signature
Specifies a signature for a [documentjs/tags/function @function] but can work with any other tag.
@signature `SIGNATURE` DESCRIPTION
/**
* Capitalizes a string.
* @signature `CanCapitalize(s)` Example:
*
* CanCapitalize("foo") //-> "Bar"
*
* @param {String} s the string to be lowercased.
* @return {String} a string with the first character capitalized,
* and everything else lowercased
*/
capitalize: function( s ) { ... }
Parameters
-
SIGNATURE
{String}
Code that describes how a method should be called.
-
DESCRIPTION
{String}
OptionalDescribes the behavior of the signature.