Skip to content

Instantly share code, notes, and snippets.

View deansheather's full-sized avatar

Dean Sheather deansheather

  • Sydney, Australia
  • 09:40 (UTC +10:00)
View GitHub Profile

Keybase proof

I hereby claim:

  • I am deansheather on github.
  • I am deansheather ( on keybase.
  • I have a public key whose fingerprint is 09AC 3017 A7E5 9F5A 72B9 2B20 B574 DF7C AFDC FAA3

To claim this, I am signing this object:

deansheather / Schema.js
Last active June 25, 2016 02:40
Schema validator for Javascript.
'use strict'
* Output a string representation of the type of an object.
* @param {*} a - Input object.
* @return {string} - Correct input object type.
var typeTest = function (a) {
switch (a) {