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
Go to Latest
function assert
import { assert } from "https://deno.land/x/deno_slack_sdk@2.0.1/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.