isStorageConnected()

The pods:isStorageConnected() function has no parameters and returns a boolean. The boolean is true if a pod’s information is stored, such as immediately after running pods:connectStorage(). The boolean returns false if a pod’s information is not stored, such as immediately after running pods:disconnectStorage().

Copyright Picolabs | Licensed under Creative Commons.