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

checkIfNumber

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

a short expression to test if a value is a Number

@example
// returns "if(a.toFixed)return"
abortIf(checkIfNumber("a", { safe: false }))
function checkIfNumber(value: Printable, { safe }?): string;
§
checkIfNumber(value: Printable, { safe }?): string
[src]

§Parameters

§
{ safe }? optional
[src]

§Return Type

§
string
[src]