price.wxs 696 B

1234567891011121314151617181920
  1. var filter = ({
  2. isTooLong: (function(price) {
  3. if (!price || typeof price != 'object') {
  4. return (false)
  5. } else {
  6. var _length = 0;
  7. for (var i = 0; i < price.length; i++) {
  8. _length = _length > price[((nt_0 = (i), null == nt_0 ? undefined : 'number' === typeof nt_0 ? nt_0 : "" + nt_0))].length ? _length : price[((nt_1 = (i), null == nt_1 ? undefined : 'number' === typeof nt_1 ? nt_1 : "" + nt_1))].length
  9. };
  10. if (_length > 9) {
  11. return (true)
  12. } else {
  13. return (false)
  14. }
  15. }
  16. }),
  17. });
  18. module.exports = ({
  19. isTooLong: filter.isTooLong,
  20. });