[android-components](../../index.md) / [mozilla.components.lib.jexl.evaluator](../index.md) / [JexlContext](index.md) / [set](./set.md)

# set

`fun set(key: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`, value: `[`JexlValue`](../../mozilla.components.lib.jexl.value/-jexl-value/index.md)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/lib/jexl/src/main/java/mozilla/components/lib/jexl/evaluator/JexlContext.kt#L43)