Client
new ReactiveVar(initialValue, [equalsFunc])
import { ReactiveVar } from 'meteor/reactive-var' Source
Constructor for a ReactiveVar, which represents a single reactive variable.
Arguments
initialValue Any The initial value to set. equalsFunc is ignored when setting the initial value. equalsFunc Function Optional. A function of two arguments, called on the old value and the new value whenever the ReactiveVar is set. If it returns true, no set is performed. If omitted, the de