import type * as DString from "../../string"; import { type IsPositive } from "./isPositive"; export type Absolute = IsPositive extends true ? GenericValue : DString.Shift<`${GenericValue}`> extends `${infer InferredResult extends number}` ? InferredResult : never;