original_string: public function ifTrue(\Closure $closure = null)
      {
          if (null === $closure) {
              $closure = function ($v) { return true === $v; };
          }
  
          $this->ifPart = $closure;
  
          return $this;
      }
code: public function ifTrue(\Closure $closure = null)
      {
          if (null === $closure) {
              $closure = function ($v) { return true === $v; };
          }
  
          $this->ifPart = $closure;
  
          return $this;
      }
code_tokens: public function ifTrue ( \ Closure $ closure = null ) { if ( null === $ closure ) { $ closure = function ( $ v ) { return true === $ v ; } ; } $ this -> ifPart = $ closure ; return $ this ; }
docstring: Sets a closure to use as tests.
  
  The default one tests if the value is true.
  
  @return $this
docstring_tokens: Sets a closure to use as tests .