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

castInt

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

convert a value to integer

@example
// return "1.2|0"
castInt(1.2)
function castInt(value: Primitive): string;
§
castInt(value: Primitive): string
[src]

§Parameters

§Return Type

§
string
[src]