{"version":3,"file":"is-symbol.mjs","names":[],"sources":["../src/is-symbol.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n                       🗲 Storm Software - Stryke\n\n This code was released as part of the Stryke project. Stryke\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/stryke.\n\n Website:                  https://stormsoftware.com\n Repository:               https://github.com/storm-software/stryke\n Documentation:            https://docs.stormsoftware.com/projects/stryke\n Contact:                  https://stormsoftware.com/contact\n\n SPDX-License-Identifier:  Apache-2.0\n\n ------------------------------------------------------------------- */\n\nexport const isSymbol = (value: unknown): value is symbol => {\n  try {\n    return (\n      value instanceof Symbol ||\n      typeof value === \"symbol\" ||\n      (Boolean(value) && (value as any).constructor === Symbol)\n    );\n  } catch {\n    return false;\n  }\n};\n"],"mappings":";AAkBA,MAAa,YAAY,UAAoC;AAC3D,KAAI;AACF,SACE,iBAAiB,UACjB,OAAO,UAAU,YAChB,QAAQ,MAAM,IAAK,MAAc,gBAAgB;SAE9C;AACN,SAAO"}