Is object boolean - Node.js Object

Node.js examples for Object:Object Type

Description

Is object boolean

Demo Code

function isBoolean(arg) {
  return typeof arg === 'boolean';
}

Related Tutorials