Module: sources/cores/numbers/isMin

Export function to validate if a value is a minimum javascript number
Author:
License:
Source:

Example

import { isMaxPositive } from 'itee-validators'

if( isMaxPositive( value ) ) {
    //...
} else {
    //...
}

Methods


<static> isMinNegative(data)

Check if the given data is a minimum negative number
Parameters:
Name Type Description
data * The data to check against the minimum infinite state
Source:
Returns:
true if data is negative minimum, false otherwise
Type
boolean

<static> isMinPositive(data)

Check if the given data is a minimum positive number
Parameters:
Name Type Description
data * The data to check against the positive minimum state
Source:
Returns:
true if data is positive minimum, false otherwise
Type
boolean