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

Add isNil function #43

Closed
ppeeou opened this issue Dec 6, 2021 · 0 comments · Fixed by #44
Closed

Add isNil function #43

ppeeou opened this issue Dec 6, 2021 · 0 comments · Fixed by #44

Comments

@ppeeou
Copy link
Member

ppeeou commented Dec 6, 2021

Suggestion

⭐ Suggestion

Checks if the given value is null or undefined.

💻 Use Cases

isNil(1); // false
isNil('1'); // false
isNil(undefined); // true
isNil(null); // true
This was referenced Dec 6, 2021
@ppeeou ppeeou closed this as completed in #44 Dec 7, 2021
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 a pull request may close this issue.

1 participant