Function __global->js_set_cms_type

Definitions

sources/webstandards_js_lint.php

  • Add a type to the list of used types for a variable.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$identifier string No No required parameter N/A N/A The variable name
$type string No No required parameter N/A N/A The type

Preview

Code (PHP)

/**
 * Add a type to the list of used types for a variable.
 *
 * @param  string $identifier The variable name
 * @param  string $type The type
 */

function js_set_cms_type(string $identifier, string $type)