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 additional functions to Lazy class #1148

Merged
merged 2 commits into from
Dec 7, 2020
Merged

Add additional functions to Lazy class #1148

merged 2 commits into from
Dec 7, 2020

Conversation

chasecaleb
Copy link
Contributor

Add missing functions to Lazy:

isValid
isValidSync
isType

These are all validation functions that have a value parameter, so it makes sense for Lazy to wrap them.

src/Lazy.ts Outdated Show resolved Hide resolved
May not work due to lack of options argument - see PR #1148.
@jquense jquense merged commit ecad1a3 into jquense:master Dec 7, 2020
@jquense
Copy link
Owner

jquense commented Dec 7, 2020

thanks!

@chasecaleb
Copy link
Contributor Author

Thanks for merging! Do you think you'll be able to make a release of this on npm soon? That's the last thing preventing me from switching back to using your version.

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.

None yet

2 participants