Skip to content

validate

Validates the version update type to ensure it is either a recognized type or a valid manual version string.

Import:

import { validate } from 'obsidian-dev-utils/script-utils/version';

Signature:

function validate(versionUpdateType: string): void

Parameters:

ParameterTypeDescription
versionUpdateTypestringThe version update type to validate.

Returns: void