Booleans v's variants for design tokens

Hi all! I have a question about design tokens. I have just been told by a developer that I need booleans for them, however according to my research its actually better to have variants. I havent contructed a token before so I wasn’t sure. However its great for shortening the options. However can anyone shed a bit of light on the usefulness of variants as opposed to booleans in the tokens?