Example of boolean value WHERE clause

I’m creating a view which I want to prefilter by a bool field where the stored value is true. How would that be represented in my query?

query: "SELECT * FROM table WHERE bval = true"

Is that correct or does the value need to be quoted or represented some other way?