Skip to content

isSymbolOrSymbolClass

@tsed/core

Usage ​

typescript
import { isSymbolOrSymbolClass } from "@tsed/core";

See /packages/core/src/utils/isSymbol.ts.

Overview ​

ts
function isSymbolOrSymbolClass(target: any): target is symbol;

Description ​

Checks if a value is a symbol primitive, Symbol object, or the Symbol constructor.

Released under the MIT License.