We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Function._noop
String._empty
Boolean._false
false
Boolean._true
true
Boolean._invert
Object._self
Object
Object._null
There are other functions that make sense to include, but that I don't think I've actually found use for:
Number._zero
Function._noop = function () {}; Boolean._false = function () { return false; }; Boolean._true = function () { return true; }; Object._self = function (val) { return val; };
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Function._noop
does nothing (return is not defined)String._empty
returns an empty stringBoolean._false
always returnsfalse
Boolean._true
always returnstrue
Boolean._invert
always returns the oppositeObject._self
always returns the input(an identity function like
Object
itself, but for all types)Object._null
always returns nullThere are other functions that make sense to include, but that I don't think I've actually found use for:
Number._zero
Boolean._false
redundant withFunction._noop
?The text was updated successfully, but these errors were encountered: