File: index.js

package info (click to toggle)
node-is-object 1.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 100 kB
  • ctags: 4
  • sloc: makefile: 4; sh: 2
file content (5 lines) | stat: -rw-r--r-- 103 bytes parent folder | download | duplicates (2)
1
2
3
4
5
"use strict";

module.exports = function isObject(x) {
	return typeof x === "object" && x !== null;
};