Skip to main content

Home > @jsplumb/util > isBoolean

isBoolean() function#

Returns whether or not the given value is of boolean type.

Signature:

export declare function isBoolean(s: any): boolean;

Parameters#

ParameterTypeDescription
sany

Returns:

boolean