Local Storage

How can I store BOOL value in local Storage. I tried several ways but it is accepting string value. Please suggest a solution. Thanks in Advance

you can store boolean as 1 or 0 (“1”, “0”) --> so you can check if your value is === “1” or “0” - “true” or “false”

Yes got it. Thanks a lot :smile: