> For AI agents: the complete documentation index is available at https://massaman.dev/llms.txt, the full documentation bundle is available at https://massaman.dev/llms-full.txt.

# Conversion


[stringifyProduces a human-readable string from any unknown value.](/reference/conversion/stringify)[toArrayConverts a value to an array.](/reference/conversion/toArray)[toBooleanConverts a value to a boolean.](/reference/conversion/toBoolean)[toErrorCoerces an unknown thrown value into a proper Error instance.](/reference/conversion/toError)[toFiniteConverts a value to a finite number.](/reference/conversion/toFinite)[toIntegerConverts a value to an integer by calling toNumber and truncating.](/reference/conversion/toInteger)[toNumberConverts a value to a number.](/reference/conversion/toNumber)[toStringConverts a value to a string.](/reference/conversion/toString)