Skip to content
Typeutilsv0.10.0

IsPositiveWhole

type IsPositiveWhole<Value extends string> =
    IsDigits<Value> extends true
        ? StripZeros<Value> extends "0"
            ? false
            : true
        : false;