Checks if the given value is Symbol (opens in a new tab).
Syntax
import { isSym } from '@opentf/std';
isSym(value: unknown): boolean;
Examples
isSym(Symbol()) //=> true
isSym(Symbol('abc')) //=> true
isSym('abc') //=> false
Checks if the given value is Symbol (opens in a new tab).
import { isSym } from '@opentf/std';
isSym(value: unknown): boolean;
isSym(Symbol()) //=> true
isSym(Symbol('abc')) //=> true
isSym('abc') //=> false