MCPcopy Create free account
hub / github.com/Effect-TS/effect / sign

Function sign

packages/effect/src/Number.ts:543–543  ·  view source on GitHub ↗
(n: number)

Source from the content-addressed store, hash-verified

541 * @since 2.0.0
542 */
543export const sign = (n: number): Ordering => Order(n, 0)
544
545/**
546 * Takes an `Iterable` of `number`s and returns their sum as a single `number`.

Callers

nothing calls this directly

Calls 1

OrderInterface · 0.70

Tested by

no test coverage detected