Local Storage


#1

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


#2

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


#3

Yes got it. Thanks a lot :smile: