Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno_slack_sdk/dev_deps.ts>assert

SDK for building Run on Slack apps using Deno
Latest
function assert
import { assert } from "https://deno.land/x/deno_slack_sdk@2.14.2/dev_deps.ts";

Asserts at compile time that the provided type argument's type resolves to the expected boolean literal type.

Type Parameters

T extends true | false

Parameters

expectTrue: T
  • True if the passed in type argument resolved to true.