all files / saguaro/lib/ utils.js

100% Statements 4/4
100% Branches 0/0
100% Functions 2/2
100% Lines 4/4
1 2 3 4 5 6 7 8 9      1392×    
 
exports.upperCaseFirst = function (str) {
    return str.charAt(0).toUpperCase() + str.substr(1);
};
 
exports.getType = function (value) {
    return Object.prototype.toString.call(value);
};