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

Static Member Summary

Static Public Members
public static

Constructor Summary

Public Constructor
public

Method Summary

Public Methods
public

isWorseThan(another: Outcome | undefined): boolean

public

toJSON(): SerialisedOutcome

Static Public Members

public static fromJSON: * source

Public Constructors

public constructor() source

Public Methods

public isWorseThan(another: Outcome | undefined): boolean source

Params:

NameTypeAttributeDescription
another Outcome | undefined

Returns:

boolean

public toJSON(): SerialisedOutcome source

Returns:

SerialisedOutcome