Skip to content

Refactor on equality check function#1280

Merged
blikblum merged 1 commit intofoliojs:masterfrom
dvdalilue:patch-1
Jul 13, 2021
Merged

Refactor on equality check function#1280
blikblum merged 1 commit intofoliojs:masterfrom
dvdalilue:patch-1

Conversation

@dvdalilue
Copy link
Contributor

This PR is just a minor refactor, I was going through the code and saw an "optimization" of an avoidable 'if' statement.

The boolean expression in the condition is enough to check the equality of the objects.

  • Unit Tests N/A
  • Documentation N/A
  • Update CHANGELOG.md N/A
  • Ready to be merged

Avoidable 'if' statement
@blikblum blikblum merged commit a41f338 into foliojs:master Jul 13, 2021
@blikblum
Copy link
Member

Manu thanks

leonho2001 added a commit to leonho2001/pdfkit that referenced this pull request Apr 29, 2022
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