mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-05-05 15:36:34 +08:00
14 lines
275 B
JavaScript
14 lines
275 B
JavaScript
'use strict';
|
|
|
|
exports.__esModule = true;
|
|
function isDef(value) {
|
|
return value !== undefined && value !== null;
|
|
}
|
|
|
|
function isObj(x) {
|
|
var type = typeof x;
|
|
return x !== null && (type === 'object' || type === 'function');
|
|
}
|
|
|
|
exports.isObj = isObj;
|
|
exports.isDef = isDef; |