Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/actionify/src/deps/types.ts>Negative

Create and manage your GitHub workflows with TypeScript and Deno.
Latest
type alias Negative
import { type Negative } from "https://deno.land/x/actionify@0.3.0/src/deps/types.ts";

A negative number/bigint (-∞ < x < 0)

Use-case: Validating and documenting parameters.

Type Parameters

T extends Numeric
definition: T extends Zero ? never : `${T}` extends `-${string}` ? T : never