()
| 28 | } |
| 29 | |
| 30 | async hasValue() { |
| 31 | const value = await this.getStorage(); |
| 32 | if (this.containsValue(value) && this.ttlValid(value)) { |
| 33 | return true; |
| 34 | } |
| 35 | return false; |
| 36 | } |
| 37 | |
| 38 | async hasValueAndIsNotEmpty() { |
| 39 | const value = await this.getStorage(); |
no test coverage detected