Skip to content

isNil & isEmpty removed #773

Answered by selfrefactor
CorentinNrd asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for your answer, but I can only provide clarification why these methods are removed.

I wanted to move the focus of the library to TypeScript and to include only these methods that is worth having one more import.

To me, in the context of TypeScript, small methods such as isEmpty bring very little value.

I think it is not worth to have such methods be in the library as I want to give TypeScript developers the missing tools in Functional Programming, i.e. map, mapObject, filterObject, etc.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@remziatay
Comment options

@selfrefactor
Comment options

Answer selected by CorentinNrd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants