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

Function isFinite

packages/effect/src/Duration.ts:454–455  ·  view source on GitHub ↗
(self: Duration)

Source from the content-addressed store, hash-verified

452 * @since 2.0.0
453 */
454export const isFinite = (self: Duration): boolean =>
455 self.value._tag !== "Infinity" && self.value._tag !== "NegativeInfinity"
456
457/**
458 * Checks whether a Duration is zero.

Callers 1

Schema.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected