MCPcopy Create free account
hub / github.com/Effect-TS/effect / isBoolean

Function isBoolean

packages/effect/src/Predicate.ts:622–624  ·  view source on GitHub ↗
(input: unknown)

Source from the content-addressed store, hash-verified

620 * @since 2.0.0
621 */
622export function isBoolean(input: unknown): input is boolean {
623 return typeof input === "boolean"
624}
625
626/**
627 * Checks whether a value is a `bigint`.

Callers 1

Iterable.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected