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

Method evaluate

contextKeyExpr/src/contextkey.ts:490–494  ·  view source on GitHub ↗
(context: IContext)

Source from the content-addressed store, hash-verified

488 }
489
490 public evaluate(context: IContext): boolean {
491 // Intentional !=
492 // eslint-disable-next-line eqeqeq
493 return (context.getValue(this.key) != this.value);
494 }
495
496 public serialize(): string {
497 return this.key + ' != \'' + this.value + '\'';

Callers

nothing calls this directly

Calls 1

getValueMethod · 0.65

Tested by

no test coverage detected