Skip to main content
The Deno 2 Release Candidate is 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.14.0/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.