@flex-development/tutils
Version:
TypeScript utilities
14 lines (13 loc) • 405 B
text/typescript
/**
* @file Type Guards - isBooleanish
* @module tutils/guards/isBooleanish
*/
import type { Booleanish } from '../types/index.mjs';
/**
* Checks if `value` is {@link Booleanish}.
*
* @param {any} [value] - Value to check
* @return {boolean} `true` if `value` is a `boolean`, `'false'`, or `'true'`
*/
declare const isBooleanish: (value?: any) => value is Booleanish;
export default isBooleanish;