set

abstract operator fun <T> set(element: PolyglotContextElement<T>, value: T): Boolean

Sets the value associated with a given context element, returning true if a previous value was replaced.