Repositorio del curso CCOM4030 el semestre B91 del proyecto Artesanías con el Instituto de Cultura

index.d.ts 345B

12345678910111213141516171819202122
  1. /**
  2. Check if a value is an object.
  3. Keep in mind that array, function, regexp, etc, are objects in JavaScript.
  4. @example
  5. ```
  6. import isObject = require('is-obj');
  7. isObject({foo: 'bar'});
  8. //=> true
  9. isObject([1, 2, 3]);
  10. //=> true
  11. isObject('foo');
  12. //=> false
  13. ```
  14. */
  15. declare function isObject(value: unknown): value is object;
  16. export = isObject;