UNPKG

npmchenwei111

Version:

test1111

15 lines (11 loc) 238 B
/** * Created by chenwei on 2017/7/24. */ export default { get: (arr, index, df) => { return arr && arr[index] ? arr[index] : df }, isArray: (o) => { return Object.prototype.toString.call(o) === '[object Array]' }, }