MCPcopy Create free account
hub / github.com/alephdata/aleph / sameAs

Method sameAs

ui/src/app/Query.js:241–248  ·  view source on GitHub ↗
(other)

Source from the content-addressed store, hash-verified

239 }
240
241 sameAs(other) {
242 return (
243 this.toLocation() === other.toLocation() &&
244 queryString.stringify(this.context) ===
245 queryString.stringify(other.context) &&
246 this.path === other.path
247 );
248 }
249
250 toLocation() {
251 // Turn the state to a query string, but hiding the params implicit in the

Callers 3

componentDidUpdateMethod · 0.80
componentDidUpdateMethod · 0.80
componentDidUpdateMethod · 0.80

Calls 1

toLocationMethod · 0.95

Tested by

no test coverage detected