Skip to main content

score__weight__key

Function score__weight__key 

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

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

ยงExample

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