Skip to content

TypeAlias.IsFloat

github-actions[bot] edited this page May 21, 2026 · 33 revisions

umt / IsFloat

Type Alias: IsFloat<T>

IsFloat<T> = T extends number ? `${T}` extends `${infer _}.${infer _2}` ? true : false : false

Defined in: types/logic/isFloat.ts:2

Type Parameters

T

T

API

Classes

Interfaces

Type Aliases

Variables

Functions

Clone this wiki locally