lib/util.js
function type(variable) {
                var regExp      = /\s([a-zA-Z]+)/,
                    str         = {}.toString.call(variable),
                    typeBig     = str.match(regExp)[1],
                    result      = typeBig.toLowerCase();
                
                return result;
            }
function type(variable) {
                var regExp      = /\s([a-zA-Z]+)/,
                    str         = {}.toString.call(variable),
                    typeBig     = str.match(regExp)[1],
                    result      = typeBig.toLowerCase();
                
                return result;
            }
function type ( variable ) { var regExp = / \s([a-zA-Z]+) / , str = { } . toString . call ( variable ) , typeBig = str . match ( regExp ) [ 1 ] , result = typeBig . toLowerCase ( ) ; return result ; }
get type of variable

@param variable
get type of variable