Number of parts of a given object type
Examples
sch <- BasicSchema(obs = c("V"), homs = list())
g <- ACSet(sch)
add_parts(g, "V", 5)
#> [1] 1 2 3 4 5
nparts(g, "V")
#> [1] 5
Number of parts of a given object type
sch <- BasicSchema(obs = c("V"), homs = list())
g <- ACSet(sch)
add_parts(g, "V", 5)
#> [1] 1 2 3 4 5
nparts(g, "V")
#> [1] 5