mjhm / lodash-match-pattern

Deep JSON pattern matching library
MIT License
50 stars 3 forks source link

String with digits passes _.isInteger test #28

Closed mjhm closed 7 years ago

mjhm commented 8 years ago
matchPattern = require('lodash-match-pattern');
matchPattern('1', '_.isInteger')

Should return an error, instead returns null

mjhm commented 7 years ago

Fixed in b86aa80684e09f82fa2d0f99eaadd38d26fe5659