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

castNumber

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

convert a value to number type

@example
// return "+true"
castNumber(true)
function castNumber(value: Primitive): string;
§
castNumber(value: Primitive): string
[src]

§Parameters

§Return Type

§
string
[src]