Skip to content

FilterCertainIntegers for special number values #3

@ootidea

Description

@ootidea

: Str extends "Infinity" | "-Infinity" | "NaN"

Since there are no NaN, Infinity or -Infinity types in TypeScript, I think it would be better to remove them.

Additionally, shouldn't you handle exponential notation decimals as shown below? (For example, 1e-900 is a decimal.)

 : Str extends `${string}e-${string}`

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions