Skip to content
This repository has been archived by the owner on Oct 23, 2021. It is now read-only.

sp core library.version.parse

John Nguyen edited this page Apr 22, 2021 · 2 revisions

Home > @microsoft/sp-core-library > Version > parse

Version.parse() method

Constructs a new Version instance using the version string. An exception is thrown if the string cannot be parsed.

Signature:

static parse(versionString: string | undefined | null): Version;

Parameters

Parameter Type Description
versionString string | undefined | null A version string

Returns:

Version

a new Version object

Clone this wiki locally