-
Notifications
You must be signed in to change notification settings - Fork 0
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
CRDCDH-1840 #34
base: 3.2.0
Are you sure you want to change the base?
CRDCDH-1840 #34
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please see my below comment about the isUndefined function. I am also going to create a new branch called 3.2.0 to bring the version in line with the backend. After completing the changes please update this PR to merge into the 3.2.0 branch
util/string-util.js
Outdated
@@ -3,6 +3,11 @@ function isCaseInsensitiveEqual(source, target) { | |||
if (source.toLowerCase() === target.toLowerCase()) return true; | |||
} | |||
|
|||
const isUndefined = (p) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is a one line function, can we just use "p === undefined" each time instead of calling a function?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The isUndefined is removed.
No description provided.