MCPcopy Create free account
hub / github.com/Wscats/vscode-explore / cmp

Method cmp

contextKeyExpr/src/contextkey.ts:920–925  ·  view source on GitHub ↗
(other: ContextKeyExpression)

Source from the content-addressed store, hash-verified

918 }
919
920 public cmp(other: ContextKeyExpression): number {
921 if (other.type !== this.type) {
922 return this.type - other.type;
923 }
924 return this._actual.cmp(other._actual);
925 }
926
927 public equals(other: ContextKeyExpression): boolean {
928 if (other.type === this.type) {

Callers

nothing calls this directly

Calls 1

cmpMethod · 0.65

Tested by

no test coverage detected