Skip to content

Initial implementation of user defined functions#12

Draft
miroiu wants to merge 1 commit intomasterfrom
feature/functions
Draft

Initial implementation of user defined functions#12
miroiu wants to merge 1 commit intomasterfrom
feature/functions

Conversation

@miroiu
Copy link
Owner

@miroiu miroiu commented Jan 23, 2024

Allow user defined functions #11

Sample:

_context.RegisterFunction("if", (args) => args[0] > 0 ? args[1] : args[2]);
Assert.IsTrue("if(5 > 2, {true}, {false})".EvalBoolean(_context));

@sonarqubecloud
Copy link

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant