MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / is_class_fn

Function is_class_fn

codegraph-kernel/src/rlang.rs:53–55  ·  view source on GitHub ↗

CLASS_FNS (r.ts:40).

(name: &str)

Source from the content-addressed store, hash-verified

51}
52/// CLASS_FNS (r.ts:40).
53fn is_class_fn(name: &str) -> bool {
54 matches!(name, "setClass" | "setRefClass" | "R6Class" | "ggproto")
55}
56/// GENERIC_FNS (r.ts:41).
57fn is_generic_fn(name: &str) -> bool {
58 matches!(name, "setGeneric" | "setMethod")

Callers 2

hook_callMethod · 0.85
hook_binary_operatorMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected