Ref

abstract class Ref

A reference to a place a value can be read from, written to or deleted, for the cases the plain property protocol does not cover.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun delete(cx: Context): Boolean
Link copied to clipboard
abstract fun get(cx: Context): Any?
Link copied to clipboard
open fun has(cx: Context): Boolean
Link copied to clipboard
abstract fun set(cx: Context, value: Any?): Any?
open fun set(cx: Context, scope: Scriptable?, value: Any?): Any?