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

Method evaluate

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

Source from the content-addressed store, hash-verified

692 }
693
694 public evaluate(context: IContext): boolean {
695 // Intentional ==
696 // eslint-disable-next-line eqeqeq
697 return (Number(context.getValue(this.key)) < this.value);
698 }
699
700 public serialize(): string {
701 return this.key + ' == \'' + this.value + '\'';

Callers

nothing calls this directly

Calls 1

getValueMethod · 0.65

Tested by

no test coverage detected