Skip to content

my-max

Kind: operation

metta
(: my-max (-> Number Number Number))
ts
interface HostOperation {
  "my-max"(a: number, b: number): number;
}

Larger of two numbers, registered as the MeTTa operation my-max.

Source: examples/18-host-bridge/host.ts:4

Released under the Apache-2.0 License.