Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

castBoolean

import { castBoolean } from "https://raw.githubusercontent.com/Hatscat/MetavaScript/main/index.ts";

convert a value to boolean type

@example
// return "!!1"
castBoolean(1)
function castBoolean(value: Primitive): string;
§
castBoolean(value: Primitive): string
[src]

§Parameters

§Return Type

§
string
[src]