isReactive: Checks if Object is Reactive (generic)

Description Usage Arguments Author(s) References See Also Examples

Description

Checks if object is reactive by investigating if it

Usage

1
isReactive(id, where = parent.frame(), ...)

Arguments

id

Signature argument. Object containing name/ID information.

where

Signature argument. Object containing location information.

...

Further arguments to be passed to subsequent functions/methods.

Author(s)

Janko Thyson janko.thyson@rappster.de

References

http://github.com/Rappster/reactr

See Also

isReactive-character-environment-method

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
## Not run: 

## Reactive objects //
setReactive(id = "x_1", value = 10)
isReactive(id = "x_1")
unsetReactive("x_1")
isReactive(id = "x_1")

## Non-reactive/regular objects //
x_2 <- 10
isReactive(id = "x_2")
obj <- ReactiveObject.S3()
isReactive("obj")


## End(Not run)

rappster/reactr documentation built on May 26, 2019, 11:56 p.m.