src/fn/type.js
/**
     * Returns true if the given value is a valid CSS dimension string or a number, false otherwise.
     *
     * @method   isDimension
     * @global
     * @memberof bbn.fn
     * @param    {String} st
     * @returns
     */
Returns true if the given value is a valid CSS dimension string or a number, false otherwise.
Returns true if the given value is a valid CSS dimension string or a number false otherwise .
isDimension(st) {
      if ((typeof(st) === 'number') && (st >= 0)) {
        return true;
      }
      return bbn.fn.isValidDimension(st);
    }
isDimension ( st ) { if ( ( typeof ( st ) === 'number' ) && ( st >= 0 ) ) { return true ; } return bbn . fn . isValidDimension ( st ) ; }
Returns true if the given value is a valid CSS dimension string or a number, false otherwise.
Returns true if the given value is a valid CSS dimension string or a number false otherwise .