dot-aspectClass: Get the class of aspects

.aspectClassR Documentation

Get the class of aspects

Description

Get the class of aspects

Usage

.aspectClass(x)

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

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 Feb. 4, 2023, 5:12 p.m.