Is object number type - Node.js Data Type

Node.js examples for Data Type:Type Check

Description

Is object number type

Demo Code

function isNumber(arg) {
  return typeof arg === 'number';
}

Related Tutorials