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

Function isValidDependencyRelType

src/utils/dependencyUtils.ts:15–17  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

13];
14
15export function isValidDependencyRelType(value: string): value is TaskDependencyRelType {
16 return VALID_RELATIONSHIP_TYPES.includes(value as TaskDependencyRelType);
17}
18
19export function extractDependencyUid(entry: unknown): string {
20 if (typeof entry === "string") {

Callers 1

normalizeDependencyEntryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected