Function sp_storage::well_known_keys::is_child_storage_key[][src]

pub fn is_child_storage_key(key: &[u8]) -> bool

Whether a key is a child storage key.

This is convenience function which basically checks if the given key starts with CHILD_STORAGE_KEY_PREFIX and doesn’t do anything apart from that.