index.sjs 352 B

12345678910111213141516
  1. var antmove_export = {};
  2. import antmove_1_module from '../wxs/array.sjs';
  3. /* eslint-disable */
  4. var array = antmove_1_module;
  5. function isActive(activeList, itemId) {
  6. if (array.isArray(activeList)) {
  7. return activeList.indexOf(itemId) > -1;
  8. }
  9. return activeList === itemId;
  10. }
  11. antmove_export.isActive = isActive;
  12. export default antmove_export;