bonsaif 1.10.16 → 1.10.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/utl.js +4 -2
- package/package.json +1 -1
package/lib/utl.js
CHANGED
|
@@ -249,8 +249,10 @@ const random=(o)=>{
|
|
|
249
249
|
};
|
|
250
250
|
|
|
251
251
|
const valueIn=(o)=>{
|
|
252
|
-
let
|
|
253
|
-
|
|
252
|
+
let {value='', in:in_=''} = o ? o : {};
|
|
253
|
+
value = ''+value; in_ = ''+in_;
|
|
254
|
+
let vin = in_ != null ? in_.split(',') : '';
|
|
255
|
+
let v = value != null ? value.split(',') : '';
|
|
254
256
|
|
|
255
257
|
for (let xv of v){
|
|
256
258
|
for (let xvin of vin ){
|