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 moved.

This entry is documented with its primary interface. Open the documentation →

API/nerdamer/structures
Function

isSubset

src/math/utils.ts:340
isSubset(a: ParserEntity, b: ParserEntity): ParserEntity

Returns 1 when every value of the first set is in the second and 0 otherwise.

Parameters

NameTypeDescription
aParserEntity—
bParserEntity—

Returns

ParserEntity

Examples

nerdamer('issubset({1},{1,2})').text(); // 1
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