data-validator-js
Version:
Validation Methods for all types of Data
17 lines (16 loc) • 485 B
TypeScript
export default class ScriptUtilities {
/**
* Checks object is null or undefined.
* @param obj Object for which we need to check
*/
static IsNullOrUndefined(obj: object | null | undefined): boolean;
/**
* Returns true if machine is a mac machine.
*/
static IsMacMachine(): boolean;
/**
* Returns a numeric value
* @param value value of attribute
*/
static getNumericValue(value: string, radix?: number): number | null;
}