Skip to content

Matching documentation issue #14

@stefnotch

Description

@stefnotch

The match function is defined as follows

export function match<T extends number = number>(
pattern: Expression<T>,
expr: Expression<T>,
options?: { numericalTolerance: number }

However, this appears to contradict the documentation, which has examples like

console.log(match(['Add', '1', 'x'], ['Add', '_a', '_a']));

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions