Divide

inline fun <Left, Right, Result> Divide(crossinline block: (left: Left, right: Right) -> Result): Divide<Left, Right, Result>(source)

Creates a Divide instance from a lambda.

Return

A new Divide instance.

Parameters

block

The function implementing division.

Type Parameters

Left

The type of the left operand.

Right

The type of the right operand.

Result

The type of the result.