MCPcopy Create free account
hub / github.com/cursor/plugins / timeMs

Function timeMs

orchestrate/skills/orchestrate/scripts/cli/task.ts:555–560  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

553}
554
555function timeMs(value: unknown): number | null {
556 if (typeof value === "number" && Number.isFinite(value)) return value;
557 if (typeof value !== "string" || value.trim().length === 0) return null;
558 const parsed = Date.parse(value);
559 return Number.isFinite(parsed) ? parsed : null;
560}
561
562function stringField(
563 obj: Record<string, unknown> | null,

Callers 1

findActiveRootPlannerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected