Create a boolean type.
Booleans are encoded as single bits using run-length encoding, making them very compact when there are many consecutive same values.
const Settings = ObjectType("Settings", { darkMode: BooleanType(), notifications: BooleanType(),}); Copy
const Settings = ObjectType("Settings", { darkMode: BooleanType(), notifications: BooleanType(),});
Create a boolean type.
Booleans are encoded as single bits using run-length encoding, making them very compact when there are many consecutive same values.