penambahan web socket
This commit is contained in:
12
examples/nuxt3-websocket-client/node_modules/on-change/lib/is-builtin.js
generated
vendored
Normal file
12
examples/nuxt3-websocket-client/node_modules/on-change/lib/is-builtin.js
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
export function isBuiltinWithMutableMethods(value) {
|
||||
return value instanceof Date
|
||||
|| value instanceof Set
|
||||
|| value instanceof Map
|
||||
|| value instanceof WeakSet
|
||||
|| value instanceof WeakMap
|
||||
|| ArrayBuffer.isView(value);
|
||||
}
|
||||
|
||||
export function isBuiltinWithoutMutableMethods(value) {
|
||||
return (typeof value === 'object' ? value === null : typeof value !== 'function') || value instanceof RegExp;
|
||||
}
|
||||
Reference in New Issue
Block a user