Skip to content

isBoolean

Determines if the value is a boolean.

Usage

isBoolean(true); // => true
isBoolean("hello"); // => false

Installation

Terminal window
npx atmx add helper is-boolean