You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Amplify
Hi,
How can I find out if there is any value stored or the storage is
empty?
Thanks
Scott González
unread,
Sep 20, 2012, 10:38:24 AM9/20/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ampl...@googlegroups.com
You can call amplify.store() with no parameters and it will return a hash of all values. So you can check if that hash is empty to determine if their is anything in the storage:
function isEmpty() { for ( var key in amplify.store() ) { return false; } return true;
Khashayar Parhami
unread,
Sep 20, 2012, 7:04:28 PM9/20/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message