Checks if the given value is Boolean (opens in a new tab).
Syntax
import { isBool } from '@opentf/std';
isBool(val: unknown): boolean;
Examples
isBool(true) //=> true
isBool(false) //=> true
isBool(null) //=> false
isBool(1) //=> false
isBool() //=> false