@ckeditor/ckeditor5-integrations-common
Version:
This package implements common utility modules for integration projects.
13 lines (12 loc) • 541 B
TypeScript
/**
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
*/
export type SemanticVersion = `${number}.${number}.${number}`;
/**
* Checks if the given string is a semantic version number.
*
* @param version - The string to check.
* @returns `true` if the string is a semantic version, `false` otherwise.
*/
export declare function isSemanticVersion(version: string | undefined | null): version is SemanticVersion;