bindings

fun ScriptEngine.bindings(scope: Int = ENGINE_SCOPE): Bindings?

Returns the Bindings for the specified scope on this ScriptEngine.

Return

the Bindings for the given scope, or null when the context has none for it, which only the global scope can

Parameters

scope

the scope to retrieve bindings for (defaults to ENGINE_SCOPE)