angular-local-storage
angular-local-storage copied to clipboard
remove returns undefined
ensured that the correct key was used. Got an undefined return from the local storage remove function.
I'm experiencing the same behavior. The documentation states that a boolean should be returned, but I receive undefined as well.
remove function doesn't return anything. Only clearAll returns something. We can discuss if we should return something in this case.
+1 on this.
Could the documentation be updated to reflect this behavior?
I believe that the documentation should be updated, but could be useful if you return a boolean to know if the data has been removed.