MCPcopy Create free account
hub / github.com/VKCOM/kphp / is_same

Function is_same

compiler/rewrite-rules/rules_runtime.cpp:101–147  ·  view source on GitHub ↗

is_same reports whether x and y represent identical vertices. for most complex vertices it returns false all the time you should avoid using !is_same(x, y) conditions as false could be an indication of "don't know" instead of "these two vertices are different" using this function without negation is the only way to go

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

containsFunction · 0.85

Calls 4

typeMethod · 0.45
get_stringMethod · 0.45
arrayMethod · 0.45
instanceMethod · 0.45

Tested by

no test coverage detected