cscg24-guacamole

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

is-function.js (210B)


      1export default function isFunction(input) {
      2    return (
      3        (typeof Function !== 'undefined' && input instanceof Function) ||
      4        Object.prototype.toString.call(input) === '[object Function]'
      5    );
      6}