dinoloop-es8
Version:
A lightweight REST API Library for building scalable Node.js server-side applications powered by Typescript
26 lines (25 loc) • 698 B
TypeScript
import { IParseHandler } from '../../types';
/**
* Converts the parameter to integer
* @Throws ActionParamException
*/
export declare const toInteger: IParseHandler;
/**
* Converts the parameter to number
* @Throws ActionParamException
*/
export declare const toNumber: IParseHandler;
/**
* Converts the parameter to boolean
* @Throws ActionParamException
*/
export declare const toBoolean: IParseHandler;
/**
* Does not perform any conversion or validation. Retrieves the original value.
*/
export declare const toValue: IParseHandler;
/**
* Validates the parameter with RegExp
* @Throws ActionParamException
*/
export declare const toRegExp: IParseHandler;