lanka-validations - v2.1.0
    Preparing search index...

    Interface LkrValidationOptions

    Range options for isValidLKR and validateLKR. Bounds are inclusive.

    interface LkrValidationOptions {
        allowNegative?: boolean;
        max?: number;
        min?: number;
    }
    Index
    allowNegative?: boolean

    Whether negative amounts are allowed. Default: false

    max?: number

    Maximum allowable amount

    min?: number

    Minimum allowable amount