|
@@ -8,7 +8,7 @@ import {createMatrixColumnsFun, createMatrixLinesFun,
|
|
|
import {createCastBoolFun, createCastIntFun,
|
|
|
createCastRealFun, createCastStringFun,
|
|
|
createIsBoolFun, createIsIntFun,
|
|
|
- createIsRealFun} from './lib/lang';
|
|
|
+ createIsRealFun, createCastCharFun} from './lib/lang';
|
|
|
import {createAbsFun, createCosFun,
|
|
|
createInvertFun, createLogFun,
|
|
|
createMaxFun, createMinFun,
|
|
@@ -28,7 +28,7 @@ function valueToKey (value, object) {
|
|
|
}
|
|
|
|
|
|
function concatObjects (...objs) {
|
|
|
- let result = {};
|
|
|
+ const result = {};
|
|
|
for (let i = 0; i < objs.length; i++) {
|
|
|
const obj = objs[i];
|
|
|
for(const key in obj) {
|
|
@@ -78,7 +78,8 @@ const libsObject = {
|
|
|
$castReal: createCastRealFun(),
|
|
|
$castInt: createCastIntFun(),
|
|
|
$castBool: createCastBoolFun(),
|
|
|
- $castString: createCastStringFun()
|
|
|
+ $castString: createCastStringFun(),
|
|
|
+ $castChar: createCastCharFun()
|
|
|
}
|
|
|
}
|
|
|
|