Download ADOOR_ACE/Interaction-Server/node_modules/is-plain-obj/index.js from thisisAce/adoor-store: direct link, hf CLI and curl.
- Browser
- Download file 245 Bytes
-
https://huggingface.co/thisisAce/adoor-store/resolve/main/ADOOR_ACE/Interaction-Server/node_modules/is-plain-obj/index.js
- Command line
-
hf download hf://thisisAce/adoor-store/ADOOR_ACE/Interaction-Server/node_modules/is-plain-obj/index.js
-
curl -L -o index.js https://huggingface.co/thisisAce/adoor-store/resolve/main/ADOOR_ACE/Interaction-Server/node_modules/is-plain-obj/index.js
245 Bytes
| ; | |
| module.exports = value => { | |
| if (Object.prototype.toString.call(value) !== '[object Object]') { | |
| return false; | |
| } | |
| const prototype = Object.getPrototypeOf(value); | |
| return prototype === null || prototype === Object.prototype; | |
| }; | |