Error with java script

obs: im brazilian, (helped by google translator)disregard any error.

I am having the following error:

Assets/Standard Assets/Character Controllers/Sources/Scripts/FPSInputController.js(16,41): BCE0023: No appropriate version of ‘UnityEngine.Animator.SetBool’ for the argument list ‘(boolean)’ was found.

The script I am trying to create is this:

public var animMovimentator : Animator;

if (directionVector != {

	animMovimentator.SetBool("InWalk" == true);

I’m trying to make an animation of steps, and the script is inside the FPSInputController, so that when I walk, the animation starts, the swinging camera and a gun in the hand, creating an effect of movement of the character

help me, even if it is simple to solve, because I am beginner in the area of programming in javascript.

animMovimentator.SetBool(“InWalk”, true);

javascript is not running of thes progrram source code editor