MCPcopy Index your code
hub / github.com/nodejs/node / classOf

Function classOf

deps/v8/test/intl/assert.js:31–36  ·  view source on GitHub ↗
(object)

Source from the content-addressed store, hash-verified

29
30
31function classOf(object) {
32 // Argument must not be null or undefined.
33 var string = Object.prototype.toString.call(object);
34 // String has format [object <ClassName>].
35 return string.substring(8, string.length - 1);
36}
37
38/**
39 * Compares two objects for key/value equality.

Callers 1

deepEqualsFunction · 0.70

Calls 1

callMethod · 0.45

Tested by

no test coverage detected