Skip to content

DecimalFormat

@tsed/mongoose

Usage

typescript
import { DecimalFormat } from "@tsed/mongoose";

See /packages/orm/mongoose/src/types/decorators/numberDecimal.ts.

Overview

ts
class DecimalFormat implements FormatsMethods<string | number> {
    validate(num: string | number): boolean;
}

validate

ts
validate(num: string | number): boolean;

Released under the MIT License.