Unity says there is no such thing as a boolean.

Here is the line of code in question, it says there is an error.

boolean isGrounded = true;

If you’re using JS it’s

var isGrounded : boolean = true;

If it’s CS:

bool isGrounded = true;