Skip to main content

score__key

Function score__key 

Source
pub fn score__key(value: &str) -> String
Expand description

Instantiates the <key> placeholder in the attribute SCORE__KEY (score.<key>) with a concrete value.

ยงExample

use relay_conventions::interpolate::score__key;
assert_eq!(score__key("foobar"), "score.foobar");