Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Operator

op_Subtraction

static abstract virtual func -(left: Self, right: Self) -> Self

Declaring type: SubtractionOperators
Module: System.Numerics
Assembly: System.Runtime.dll
Source file: SubtractionOperators.rvn

Defined by SubtractionOperators.op_Subtraction · Required implementation (no default).

Interface implementation: Required implementation (no default).

Applies subtraction to two values of the implementing type. The implementing operator defines overflow and domain behavior; failure is not returned as Result.

Parameters

Name Type Description
left Self
right Self

Return value

Self