Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add some extension functions for CXXTerraNode #51

Merged
merged 1 commit into from
Mar 7, 2024

Conversation

littleGnAl
Copy link
Contributor

Add some extension functions to check the node type

let node = new CXXFile();
// before 
if (node.__TYPE === CXXTYPE.CXXFile) {}
// now
if (node.isCXXFile()) {}

@littleGnAl littleGnAl requested a review from guoxianzhe March 7, 2024 03:18
@littleGnAl littleGnAl merged commit b6d0190 into main Mar 7, 2024
3 checks passed
@littleGnAl littleGnAl deleted the littlegnal/node-ext branch March 7, 2024 03:39
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