Package dev.gmitch215.bytebox.binding
Interface KVNamespace.Entry
- All Superinterfaces:
org.teavm.jso.JSObject
- Enclosing interface:
KVNamespace
public static interface KVNamespace.Entry
extends org.teavm.jso.JSObject
A value and the metadata stored with it.
-
Method Summary
Methods inherited from interface org.teavm.jso.JSObject
cast
-
Method Details
-
getValue
org.teavm.jso.core.JSString getValue()Returns the value, ornullwhen the key is absent.- Returns:
- the value, or
nullwhen the key is absent
-
getMetadata
TSObject getMetadata()Returns the metadata, ornullwhen none was stored.- Returns:
- the metadata, or
nullwhen none was stored
-
value
Returns the value as a Java string, ornull.- Returns:
- the value as a Java string, or
null
-