Skip to content

feat(napi): add get and try_get for FunctionCallContext#2409

Merged
Brooooooklyn merged 2 commits intonapi-rs:mainfrom
richerfu:feat-ctx-get
Jan 2, 2025
Merged

feat(napi): add get and try_get for FunctionCallContext#2409
Brooooooklyn merged 2 commits intonapi-rs:mainfrom
richerfu:feat-ctx-get

Conversation

@richerfu
Copy link
Copy Markdown
Contributor

Allow us to use get and try_get to get argument with index. It's very useful that if we have three or more arguments.

@Brooooooklyn Brooooooklyn merged commit a7c41f3 into napi-rs:main Jan 2, 2025
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.

2 participants