import {Version} from '@serenity-js/core/lib/io'
public class | source

Version

Extends:

tiny-types~TinyType → Version

Static Method Summary

Static Public Methods
public static

fromJSON(version: string): *

Constructor Summary

Public Constructor
public

Method Summary

Public Methods
public

isAtLeast(other: Version): *

public

major(): number

public

toString(): string

Static Public Methods

public static fromJSON(version: string): * source

Params:

NameTypeAttributeDescription
version string

Returns:

*

Public Constructors

public constructor() source

Public Methods

public isAtLeast(other: Version): * source

Params:

NameTypeAttributeDescription
other Version

Returns:

*

public major(): number source

Returns:

number

public toString(): string source

Returns:

string