Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/skills / frontmatter / isRuntimeCompatSatisfied
Function: isRuntimeCompatSatisfied()
ts
function isRuntimeCompatSatisfied(range, version): boolean;Defined in: packages/skills/src/frontmatter/index.ts:553
Best-effort semver-range satisfaction check. Supports the patterns the framework actually emits (^x.y.z, ~x.y.z, >=x.y.z, >x.y.z, <=x.y.z, <x.y.z, plain x.y.z, the AND combinator with whitespace) without pulling a runtime dependency on semver. Unrecognised inputs return false so the validator emits a typed diagnostic.
Parameters
| Parameter | Type |
|---|---|
range | string |
version | string |
Returns
boolean