File
Blob: src/node/util/types.ts
| 1 | // Copyright (c) 2017-2022 Cloudflare, Inc. |
| 2 | // Licensed under the Apache 2.0 license found in the LICENSE file or at: |
| 3 | // https://opensource.org/licenses/Apache-2.0 |
| 4 | // |
| 5 | // Copyright Joyent, Inc. and other Node contributors. |
| 6 | // |
| 7 | // Permission is hereby granted, free of charge, to any person obtaining a |
| 8 | // copy of this software and associated documentation files (the |
| 9 | // "Software"), to deal in the Software without restriction, including |
| 10 | // without limitation the rights to use, copy, modify, merge, publish, |
| 11 | // distribute, sublicense, and/or sell copies of the Software, and to permit |
| 12 | // persons to whom the Software is furnished to do so, subject to the |
| 13 | // following conditions: |
| 14 | // |
| 15 | // The above copyright notice and this permission notice shall be included |
| 16 | // in all copies or substantial portions of the Software. |
| 17 | // |
| 18 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS |
| 19 | // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
| 20 | // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN |
| 21 | // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, |
| 22 | // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR |
| 23 | // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE |
| 24 | // USE OR OTHER DEALINGS IN THE SOFTWARE. |
| 25 | |
| 26 | export * from 'node-internal:internal_types'; |
| 27 | import { default as types } from 'node-internal:internal_types'; |
| 28 | export { |
| 29 | isCryptoKey, |
| 30 | isKeyObject, |
| 31 | isAsyncFunction, |
| 32 | isGeneratorFunction, |
| 33 | isGeneratorObject, |
| 34 | isAnyArrayBuffer, |
| 35 | isArrayBuffer, |
| 36 | isArgumentsObject, |
| 37 | isBoxedPrimitive, |
| 38 | isDataView, |
| 39 | isMap, |
| 40 | isMapIterator, |
| 41 | isModuleNamespaceObject, |
| 42 | isNativeError, |
| 43 | isPromise, |
| 44 | isProxy, |
| 45 | isSet, |
| 46 | isSetIterator, |
| 47 | isSharedArrayBuffer, |
| 48 | isWeakMap, |
| 49 | isWeakSet, |
| 50 | isRegExp, |
| 51 | isDate, |
| 52 | isStringObject, |
| 53 | isSymbolObject, |
| 54 | isNumberObject, |
| 55 | isBooleanObject, |
| 56 | isBigIntObject, |
| 57 | isArrayBufferView, |
| 58 | isBigInt64Array, |
| 59 | isBigUint64Array, |
| 60 | isFloat16Array, |
| 61 | isFloat32Array, |
| 62 | isFloat64Array, |
| 63 | isInt8Array, |
| 64 | isInt16Array, |
| 65 | isInt32Array, |
| 66 | isTypedArray, |
| 67 | isUint8Array, |
| 68 | isUint8ClampedArray, |
| 69 | isUint16Array, |
| 70 | isUint32Array, |
| 71 | isExternal, |
| 72 | } from 'node-internal:internal_types'; |
| 73 | export default types; |