Function __global->in_tag_stack

Definitions

sources/comcode_compiler.php

  • Find if any of some tags are in the stack.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: bool

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$tag_stack array No No required parameter N/A N/A The tag stack
$tags array No No required parameter N/A N/A The tags

Returns

  • Whether one is present
  • Type: boolean
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Find if any of some tags are in the stack.
 *
 * @param  array $tag_stack The tag stack
 * @param  array $tags The tags
 * @return boolean Whether one is present
 */

function in_tag_stack(array $tag_stack, array $tags) : bool