Nerdamer
Documentation Playground Showcase GitHub
DocumentationPlaygroundShowcaseGitHub
OverviewGetting startedChoosing how to use NerdamerMigrating from Nerdamer 1.xxReferences & citations
Expression syntaxFunction reference
Overview & referenceScripting examplesUser-defined functions
API overviewnerdamer APISettings & configurationText output & public helpersAPI examples
ArchitectureExpression modelParser internalsCodebase mapInternals inspectorHow to developCode conventions
API/nerdamer API
Function

nerdamer.setOperator

src/index.ts:682
nerdamer.setOperator(operator: OperatorDefinition, action?: OperatorFunction): typeof nerdamer

Registers or updates a parser operator and returns the root API for chaining.

Parameters

NameTypeDescription
operatorOperatorDefinition—
actionOperatorFunction—

Returns

typeof nerdamer

Nerdamer

Symbolic mathematics for JavaScript and TypeScript.

DocumentationNerdamer NotationNerdamer Scriptingnerdamer APIJavaScript / TypeScript API
ProjectPlaygroundReferences & citationsInternalsGitHub
Copyright © 2013–2026 Martin Donk · Licensed under the Apache License 2.0