/** * Convert a given value to boolean type. * * * Boolean type * * - true ==> true * - false ==> false * * * String type * * - "true" ==> true * - "TrUe" ==> true * - "FALSE" ==> false * - "false" ==> false * - "xfef" ==> null * - "1232" ==> null * * * Other type ==> null * @param v */ export declare function convertToBoolean(v?: unknown): boolean | null; /** * Convert a given value to number type. * * * Number type * * - 123 ==> 123 * - -132132.23 ==> -132132.23 * * * String type * * - "12323" ==> 12323 * - "x232y" ==> null * - " " ==> null * * * Other type ==> null * @param v */ export declare function convertToNumber(v?: unknown): number | null; /** * Convert a given value to integer type. * * * Number type * * - 123 ==> 123 * - 132132.23 ==> 132132 * - -132132.23 ==> -132132 * * * String type * * - "12323" ==> 12323 * - "x232y" ==> null * - " " ==> null * * * Other type ==> null * @param v */ export declare function convertToInteger(v?: unknown): number | null; /** * Convert to string. * * * String / Number / Boolean type ==> x.toString() * * * Other type ==> null * @param v */ export declare function convertToString(v?: unknown): string | null;