@tetcoin/util
Version:
A collection of useful utilities for @tetcoin
16 lines (15 loc) • 336 B
TypeScript
/**
* @name isBoolean
* @summary Tests for a boolean value.
* @description
* Checks to see if the input value is a JavaScript boolean.
* @example
* <BR>
*
* ```javascript
* import { isBoolean } from '@tetcoin/util';
*
* isBoolean(false); // => true
* ```
*/
export default function isBoolean(value: any): value is boolean;