You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
iotcat
74338fbb93
|
5 years ago | |
---|---|---|
.. | ||
test | 5 years ago | |
.npmignore | 5 years ago | |
CONTRIBUTING.md | 5 years ago | |
README.md | 5 years ago | |
index.js | 5 years ago | |
package.json | 5 years ago |
README.md
typewise
typewiselite
compare sensible js data types
this is a fork of typewise
example
var compare = require('typewiselite')
ARRAY.sort(compare)
ordering
- null
- boolean (false < true)
- numbers
- buffers
- strings
- object (!will throw)
- arrays
- undefined
ordering is the same as bytewise except there is no support for {} objects.