Skip to contents

Subtraction for value objects

Usage

# S3 method for value
-(x, y)

Arguments

x

A value object (minuend)

y

A value object or a scalar (subtrahend)

Value

A new value object representing the subtraction x - y