cscg24-guacamole

CSCG 2024 Challenge 'Guacamole Mashup'
git clone https://git.sinitax.com/sinitax/cscg24-guacamole
Log | Files | Refs | sfeed.txt

is-object.js (246B)


      1export default function isObject(input) {
      2    // IE8 will treat undefined and null as object if it wasn't for
      3    // input != null
      4    return (
      5        input != null &&
      6        Object.prototype.toString.call(input) === '[object Object]'
      7    );
      8}