stdlib-js

stdlib-js/symbol-to-primitive

Symbol which specifies a method for converting an object to a primitive value.

JavaScript
0
0
Apache License 2.0

The **@stdlib/symbol-to-primitive** package exports a built‑in `Symbol` that represents the “to‑primitive” method (`[Symbol.toPrimitive]`) used by JavaScript to convert objects to primitive values. It provides a reliable, environment‑aware reference (or `null` on older runtimes) for developers who need to define custom object coercion logic, especially in scientific or numerical JavaScript libraries built on the stdlib ecosystem.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies of stdlib-js/symbol-to-primitive

Account's avatar
Detect native Symbol.toPrimitive support.
Account's avatar
Test if a value is a symbol.
Account's avatar
Number constructor.
Account's avatar
Define (or modify) an object property.
Account's avatar
tap-producing test harness for node and browsers
Account's avatar
Yet another JS code coverage tool that computes statement, line, function and branch coverage with module loader hooks to transparently add coverage when running tests. Supports all JS coverage use ca
Account's avatar
Minimal TAP output formatter.

Support the repos that depend on this repository

Top contributors

stdlib-bot's profile
stdlib-bot
9 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet