Skip to the content.

Conversions

Utilities for converting data types.

Example:

import { toBoolean } from "@travisspomer/tidbits"

const trueOrFalse: boolean = toBoolean(value)

toBoolean

toBoolean(value: any): boolean