MCPcopy Index your code
hub / github.com/callumalpass/tasknotes / hasNewArrayValue

Function hasNewArrayValue

src/api/TaskNotesAPI.ts:3436–3439  ·  view source on GitHub ↗
(before: string[] | undefined, after: string[] | undefined)

Source from the content-addressed store, hash-verified

3434}
3435
3436function hasNewArrayValue(before: string[] | undefined, after: string[] | undefined): boolean {
3437 const beforeValues = new Set(before ?? []);
3438 return (after ?? []).some((value) => !beforeValues.has(value));
3439}
3440
3441function getRawEventForRuntimeEvent(event: TaskNotesRuntimeEventName): string {
3442 if (event === "task.deleted") {

Callers 1

normalizeUpdatedEventMethod · 0.85

Calls 1

hasMethod · 0.80

Tested by

no test coverage detected