Skip to content

export Function

isClass ​

Checks whether the value is a class or an instance of a class.

Constructor ​

ts
 isClass( value )
ParameterTypeDescription
valueanyThe value to check.

Return: boolean

A modern, powerful library for building your Telegram bots, with seamless support for both JavaScript and Typescript.