Skip to content

NULL checks for context and parent should use IsValid instead of null check expression#652

Draft
PTKu wants to merge 2 commits intodevfrom
651-null-checks-for-context-and-parent-should-use-isvalid-instead-of-null-check-expression
Draft

NULL checks for context and parent should use IsValid instead of null check expression#652
PTKu wants to merge 2 commits intodevfrom
651-null-checks-for-context-and-parent-should-use-isvalid-instead-of-null-check-expression

Conversation

@PTKu
Copy link
Contributor

@PTKu PTKu commented Apr 5, 2025

Any expression where we check for NULL context || NULL parent object should be replaces with

IF(obj.GetContext().IsValid()) THEN ...

or

IF(obj.GetParent().IsValid()) THEN ...

closes #651

…-use-isvalid-instead-of-null-check-expression
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.

NULL checks for context and parent should use IsValid instead of null check expression

1 participant