Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/value_schema/dist-deno/libs/types.ts>isNumericString

simple, easy-to-use, and declarative input validator; supports Node.js, TypeScript, Deno, and Bun
Go to Latest
function isNumericString
import { isNumericString } from "https://deno.land/x/value_schema@v4.0.0-rc.2/dist-deno/libs/types.ts";

check whether given value is a numeric string or not

Parameters

value: unknown

value to check

Returns

value is string

Yes/No