clear

fun clear(vararg keys: String)

Clears the value of the specified attributes effectively setting them to null.

Example:

clear("key1", "key2", "key2", "... as many keys as desired")

Parameters

keys

Vararg of keys of the entries to clear.


fun clear(keys: List<String>)

Clears the value of the specified attributes effectively setting them to null.

Example:

clear(listOf("key1", "key2", "key2"))

Parameters

keys

The keys of the entries to clear.


fun clear(key: String)

Clears the value of the specified attribute effectively setting it to null.

Example:

clear("key1")

Parameters

key

The key of the entry to clear.