I hereby claim:
- I am bdav87 on github.
- I am briandavenport (https://keybase.io/briandavenport) on keybase.
- I have a public key ASBfYc2Weh-UU-jdNAVdFn6yBwhP9pmVBxq8X-1r7RXAHQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
module.exports = { | |
nestedTypeFilter: function(inputObject, typeSpec) { | |
//Immediately passes basic filter tests | |
//Runs through chain of filters otherwise | |
if ((typeof typeSpec == 'function') && (typeof inputObject != 'object')) { | |
return basicFilter(inputObject, typeSpec); | |
} else { | |
return cycleFilter(inputObject, typeSpec); | |
} |