X-Git-Url: https://git.ladys.computer/Pisces/blobdiff_plain/9c6be9646631101a3883d4dac08495d5e35e9977..0b2e1cbf082ff80ae6fd42d028e08d6382a4622b:/symbol.js diff --git a/symbol.js b/symbol.js index 2bd3717..d303aec 100644 --- a/symbol.js +++ b/symbol.js @@ -1,18 +1,23 @@ -// ♓🌟 Piscēs ∷ symbol.js -// ==================================================================== -// -// Copyright © 2023 Lady [@ Lady’s Computer]. -// -// This Source Code Form is subject to the terms of the Mozilla Public -// License, v. 2.0. If a copy of the MPL was not distributed with this -// file, You can obtain one at . +// SPDX-FileCopyrightText: 2023, 2025 Lady +// SPDX-License-Identifier: MPL-2.0 +/** + * ⁌ ♓🧩 Piscēs ∷ symbol.js + * + * Copyright © 2023, 2025 Lady [@ Ladys Computer]. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at . + */ import { createCallableFunction } from "./function.js"; +const PISCĒS = "♓🧩 Piscēs"; + /** * Returns the description for the provided symbol. * - * ※ This is effectively an alias for the `Symbol::description` + * ※ This is effectively an alias for the `Symbol::description´ * getter. * * ☡ This function throws if the provided argument is not a symbol. @@ -25,10 +30,10 @@ export const getSymbolDescription = createCallableFunction( /** * Returns a string representation of the provided symbol. * - * ※ Use `getSymbolDescription` instead if you just want the text + * ※ Use `getSymbolDescription´ instead if you just want the text * description of a symbol. * - * ※ This is effectively an alias for the `Symbol::toString`. + * ※ This is effectively an alias for the `Symbol::toString´. * * ☡ This function throws if the provided argument is not a symbol. */ @@ -40,10 +45,10 @@ export const symbolToString = createCallableFunction( /** * Returns the value of the provided symbol. * - * ※ This is effectively an alias for the `Symbol::valueOf`. + * ※ This is effectively an alias for the `Symbol::valueOf´. * * ☡ This function throws if the provided argument is not a symbol and - * does not have a `[[SymbolData]]` slot. + * does not have a `[[SymbolData]]´ slot. */ export const symbolValue = createCallableFunction( Symbol.prototype.valueOf,