supports

open fun supports(capability: StorageCapability): Boolean(source)

Checks whether this storage supports the given capability.

Return

true if the capability is supported, false otherwise

Parameters

capability

the capability to check