Both types are listed as valid in the documentation:
Oddly enough, using a uint32 as a boolean works perfectly fine…