Skip to main content

check_top_level_key

Function check_top_level_key 

Source
pub fn check_top_level_key(key: &str) -> Result<&str, &str>
Expand description

Returns the literal of the top level Databoard key if it is one.

ยงErrors

  • if is not a top level Databoard key, the error contains the unchanged key.