@aedart/contracts
Version:
The Ion contracts package. Contains types, interfaces and unique identifiers
41 lines (37 loc) • 1.14 kB
JavaScript
/**
* @aedart/contracts
*
* BSD-3-Clause, Copyright (c) 2023-present Alin Eugen Deac <aedart@gmail.com>.
*/
;
/**
* Support Reflections identifier
*
* @type {Symbol}
*/
const SUPPORT_REFLECTIONS = Symbol('@aedart/contracts/support/reflections');
/**
* The prototype of {@link Function}
*
* **Note**: _Prototype is obtained via `Reflect.getPrototypeOf(Function)`_
*
* @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/prototype
*
* @type {object}
*/
const FUNCTION_PROTOTYPE = Reflect.getPrototypeOf(Function);
/**
* `TypedArray` prototype
*
* **Note**: _Prototype is obtained via `Reflect.getPrototypeOf(Int8Array)`_
*
* @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
*
* @type {object}
*/
const TYPED_ARRAY_PROTOTYPE = Reflect.getPrototypeOf(Int8Array);
exports.FUNCTION_PROTOTYPE = FUNCTION_PROTOTYPE;
exports.SUPPORT_REFLECTIONS = SUPPORT_REFLECTIONS;
exports.TYPED_ARRAY_PROTOTYPE = TYPED_ARRAY_PROTOTYPE;
module.exports = Object.assign(exports.default, exports);
//# sourceMappingURL=reflections.cjs.map