UNPKG

@promptbook/vercel

Version:

Promptbook: Turn your company's scattered knowledge into AI ready books

11 lines (10 loc) 484 B
import type { UncertainNumber } from '../UncertainNumber'; /** * Make UncertainNumber * * @param value value of the uncertain number, if `NaN` or `undefined`, it will be set to 0 and `isUncertain=true` * @param isUncertain if `true`, the value is uncertain, otherwise depends on the value * * @private utility for initializating UncertainNumber */ export declare function uncertainNumber(value?: number | typeof NaN | undefined | null, isUncertain?: boolean): UncertainNumber;