View on GitHub

js-ts-monorepos

Home > @shlack/types > isChannel

isChannel() function

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Check whether a given value is an IChannel

Signature:

export declare function isChannel(arg: any): arg is IChannel;

Parameters

Parameter Type Description
arg any value to check

Returns:

arg is IChannel