Nerdamer
Documentation Playground Showcase GitHub
DocumentationPlaygroundShowcaseGitHub
OverviewInstall & first stepsWays to use NerdamerWhat’s newMigrating from 1.x
Writing expressionsReserved namesScriptingUser-defined functionsResults & outputSets & solution setsAssumptionsSettingsWarningsConnecting functionsScripting examplesJavaScript examples
FunctionsThe nerdamer objectTypes & import paths
Contributing →
Documentation/Function reference
Function reference · Assumptions and sets

unassign

Removes the value assigned to a variable.

After x:5, unassign(x) makes x a plain variable again. It doesn't touch assumptions; use forget for those.

Notation

unassign(arg1)

Write it in an expression: nerdamer('x:5; unassign(x); x'), or in the Playground.

Examples

Assign, remove, and x is a variable again.

x:5; unassign(x); x
// → x
Open in Playground

← Back to Function reference

Nerdamer

Symbolic mathematics for JavaScript and TypeScript.

DocumentationNerdamer NotationNerdamer ScriptingThe nerdamer objectJavaScript / TypeScript API
ProjectPlaygroundReferences & citationsContributingGitHub
Copyright © 2013–2026 Martin Donk · Licensed under the Apache License 2.0