How to use the purify-ts/NonEmptyList.NonEmptyList.isNonEmpty function in purify-ts

To help you get started, we’ve selected a few purify-ts examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github SamHH / bukubrow-webext / src / containers / search-controls / container.tsx View on Github external
const mapStateToProps = (state: AppState) => ({
	searchFilter: state.input.searchFilter,
	searchEnabled: NonEmptyList.isNonEmpty(state.bookmarks.bookmarks),
	hasBinaryComms: state.user.hasBinaryComms,
	numFilteredBookmarks: getUnlimitedFilteredBookmarks(state).length,
	numStagedItems: state.bookmarks.stagedBookmarksGroups.length,
});

purify-ts

Functional programming standard library for TypeScript

ISC
Latest version published 4 months ago

Package Health Score

77 / 100
Full package analysis