MCPcopy
hub / github.com/josdejong/mathjs / isCommutative

Function isCommutative

src/function/algebra/simplify/util.js:77–79  ·  view source on GitHub ↗
(node, context = defaultContext)

Source from the content-addressed store, hash-verified

75 }
76
77 function isCommutative (node, context = defaultContext) {
78 return hasProperty(node, 'commutative', context)
79 }
80
81 function isAssociative (node, context = defaultContext) {
82 return hasProperty(node, 'associative', context)

Callers 5

_simplifyCoreFunction · 0.85
_canonicalizeRuleFunction · 0.85
getSplitsFunction · 0.85
_ruleMatchFunction · 0.85
foldFractionFunction · 0.85

Calls 1

hasPropertyFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…