@promptbook/gemini
Version:
It's time for a paradigm shift. The future of software in plain English, French or Latin
13 lines (12 loc) • 555 B
TypeScript
import type { string_semantic_version } from '../../../types/typeAliases';
import type { really_unknown } from '../../organization/really_unknown';
/**
* Tests if given string is valid semantic version
*
* Note: There are two simmilar functions:
* - `isValidSemanticVersion` which tests any semantic version
* - `isValidPromptbookVersion` *(this one)* which tests just Promptbook versions
*
* @public exported from `@promptbook/utils`
*/
export declare function isValidSemanticVersion(version: really_unknown): version is string_semantic_version;