src/types.js
function trimNull(value) {
  if (value.charCodeAt(value.length - 1) === 0) {
    return value.substring(0, value.length - 1);
  }
  return value;
}
function trimNull(value) {
  if (value.charCodeAt(value.length - 1) === 0) {
    return value.substring(0, value.length - 1);
  }
  return value;
}
function trimNull ( value ) { if ( value . charCodeAt ( value . length - 1 ) === 0 ) { return value . substring ( 0 , value . length - 1 ) ; } return value ; }
Removes null terminate value
@ignore
@param {string} value - String to trim
@return {string} - Trimmed string
Removes null terminate value