Skip to content

abstract ValueObject<T>

Extended by

Type parameters

T

Constructors

new ValueObject()

new ValueObject<T>(props: T): ValueObject<T>

Parameters

props: T

Returns

ValueObject<T>

Properties

props

readonly props: T

Methods

equals()

equals(vo?: ValueObject<T>): boolean

Parameters

vo?: ValueObject<T>

Returns

boolean


value()

value(): T

Returns

T