satisfies function
Whether `version` is within a semver `range` such as `^1.2.0 || >=2`.
import { satisfies } from '@dioramajs/diorama/core'function satisfies(version: string, range: string): booleanParameters
| Name | Type | Description |
|---|---|---|
version | string | |
range | string |
Also exported from @dioramajs/core.
Defined in packages/core/src/kernel/semver.ts.