Number.applyOp

Applies an operator to a Number given the rhs.

class Number
pure @safe
bool
applyOp
(
W
)
(
in dstring op
,
in Mtype!W rhs
)

Parameters

op dstring

The operator to apply.

rhs Mtype!W

The right hand side of the expression.

Return Value

Type: bool

Whether the operation was succesful or not.

Meta