core.checkifvalidmedplumversion
Home > @medplum/core > checkIfValidMedplumVersion
checkIfValidMedplumVersion() function
Tests that a given version string is a valid existing Medplum release version.
Signature:
export declare function checkIfValidMedplumVersion(version: string): Promise<boolean>;
Parameters
Parameter | Type | Description |
---|---|---|
version | string | A version to be checked against the existing Medplum repo releases. |
Returns:
Promise<boolean>
true
if version
is a valid semver version that corresponds to an existing release, otherwise false
.