Skip to content

Tankōbon / shared/app / parseVersion

Function: parseVersion() ​

parseVersion(version): number[] | null

Defined in: shared/app.ts:74

The numeric parts of a version such as v1.2.3 or 1.2.3-beta.1 (the pre-release suffix is ignored); null if there are none.

Parameters ​

version ​

string

Returns ​

number[] | null