UNPKG

@n3okill/utils

Version:
46 lines 1.61 kB
/** * Javascript Object types Enum */ export var EnumTypes; (function (EnumTypes) { EnumTypes[EnumTypes["Array"] = 0] = "Array"; EnumTypes[EnumTypes["AsyncFunction"] = 1] = "AsyncFunction"; EnumTypes[EnumTypes["Boolean"] = 2] = "Boolean"; EnumTypes[EnumTypes["Blob"] = 3] = "Blob"; EnumTypes[EnumTypes["Buffer"] = 4] = "Buffer"; EnumTypes[EnumTypes["Date"] = 5] = "Date"; EnumTypes[EnumTypes["Error"] = 6] = "Error"; EnumTypes[EnumTypes["Function"] = 7] = "Function"; EnumTypes[EnumTypes["Map"] = 8] = "Map"; EnumTypes[EnumTypes["Null"] = 9] = "Null"; EnumTypes[EnumTypes["Number"] = 10] = "Number"; EnumTypes[EnumTypes["Object"] = 11] = "Object"; EnumTypes[EnumTypes["PlainObject"] = 12] = "PlainObject"; EnumTypes[EnumTypes["Promise"] = 13] = "Promise"; EnumTypes[EnumTypes["RegExp"] = 14] = "RegExp"; EnumTypes[EnumTypes["Set"] = 15] = "Set"; EnumTypes[EnumTypes["String"] = 16] = "String"; EnumTypes[EnumTypes["Symbol"] = 17] = "Symbol"; EnumTypes[EnumTypes["TypedArray"] = 18] = "TypedArray"; EnumTypes[EnumTypes["Undefined"] = 19] = "Undefined"; EnumTypes[EnumTypes["NotDefined"] = 20] = "NotDefined"; EnumTypes[EnumTypes["BigInt"] = 21] = "BigInt"; })(EnumTypes || (EnumTypes = {})); /** * @internal * @type {string[]} */ export const TypedArrayTypes = [ "Int8Array", "Uint8Array", "Uint8ClampedArray", "Int16Array", "Uint16Array", "Int32Array", "Uint32Array", "Float32Array", "Float64Array", "BigInt64Array", "BigUint64Array", ]; //# sourceMappingURL=_types.js.map