Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/core_fn/symbol/mod.ts>description

A collection of built-in object method and property as currying function
Latest
variable description
import { description } from "https://deno.land/x/core_fn@v1.0.0-beta.16/symbol/mod.ts";

Expose the [[Description]] internal slot of a symbol directly.

Examples

Example 1

description(Symbol()) // undefined
description(Symbol('')) // ''
description(Symbol('abc')) // 'abc'

type

(val: symbol) => symbol["description"]