Animator if Bool

Whats the term in javascript for getting if a bool is on or off in the animator?

isItTrue = animator.GetBool(“nameOfBool”);