src/base/utils.js
function(val) {

    if (val === undefined) {
      return "undefined";
    }
    if (val === null) {
      return "null";
    }

    let type = typeof val;

    if (type === "object") {
      type = getClass(val).toLowerCase();
    }

    if (type === "number") {
      return val.toString().indexOf(".") > 0 ?
        "float" :
        "integer";
    }

    return type;
  }
function(val) {

    if (val === undefined) {
      return "undefined";
    }
    if (val === null) {
      return "null";
    }

    let type = typeof val;

    if (type === "object") {
      type = getClass(val).toLowerCase();
    }

    if (type === "number") {
      return val.toString().indexOf(".") > 0 ?
        "float" :
        "integer";
    }

    return type;
  }
function ( val ) { if ( val === undefined ) { return "undefined" ; } if ( val === null ) { return "null" ; } let type = typeof val ; if ( type === "object" ) { type = getClass ( val ) . toLowerCase ( ) ; } if ( type === "number" ) { return val . toString ( ) . indexOf ( "." ) > 0 ? "float" : "integer" ; } return type ; }
Defines the type of the value, extended typeof
Defines the type of the value extended typeof