UNPKG

svcorelib

Version:

Core library used in the projects of Sv443 and the Sv443 Network. Contains tons of miscellaneous QoL features.

14 lines (12 loc) 240 B
function isClass(val) { try { return typeof val === "function" && !Object.getOwnPropertyDescriptor(val, "prototype").writable; } catch(err) { return false; } } module.exports = isClass;