dot-aspectClass: Get the class of aspects

Description Usage Arguments Value Note Examples

Description

Get the class of aspects

Usage

1

Arguments

x

a potential aspect

Value

The aspect class name or NA if it's not an aspect

Note

Internal function only for convenience

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
x = list(a="foo", b="bar")
class(x)
# [1] "list"
## Not run: 
.addClass(x) <- .CLS$nodes
class(x)
# [1] "NodesAspect" "list" 

.aspectClass(x)
# [1] "NodesAspect"

.removeClass(x) <- "NodesAspect"

.aspectClass(x)
# [1] "NA"


## End(Not run)

frankkramer-lab/RCX documentation built on Oct. 26, 2021, 1:33 a.m.