Reduce the need for emptiness checks and reduce unsafe APIs with NonEmptyCollections.
You can use NonEmptyList, NonEmptySet and NonEmptyMap to restrict the input of functions to make your code safer and avoid unnecessary runtime exceptions.
For a detailed explanation see our related article Non-Empty Lists in Kotlin.
Programming language: Kotlin
License: MIT License
Tags: Android Kotlin Library KotlinJS KotlinJVM Kotlin Library Multiplatform Non Empty List
NonEmptyCollections alternatives and similar libraries
Based on the "Multiplatform" category.
Alternatively, view NonEmptyCollections alternatives based on common mentions on social networks and blogs.
firebase-kotlin-sdkA Kotlin-first SDK for Firebase
TelegramBotAPIType-safe library for work with Telegram Bot API
kotlin-multiplatform-bignumA Kotlin multiplatform library for arbitrary precision arithmetics
Kotlin Spotify Web APISpotify Web API wrapper for Kotlin, Java, JS, and Native - Targets JVM, Android, JS (browser), Native (Desktop), and Apple tvOS/iOS. Includes a Spotify Web Playback SDK wrapper for Kotlin/JS, and a spotify-auth wrapper for Kotlin/Android.
🍲 Foodium (Kotlin Multiplatform Mobile)📱Sample application built to demonstrate the use of Kotlin Multiplatform Mobile for developing Android and iOS applications using Jetpack Compose 🚀.
NoCopy Compiler PluginA Kotlin compiler plugin that removes the `copy` method of data classes.
KMQTT4.4 0.0 NonEmptyCollections VS KMQTTKotlin Multiplatform MQTT client & embeddable and standalone broker
krontab3.6 6.4 NonEmptyCollections VS krontabLibrary for using Crontab-like syntax in scheduling of some Kotlin Coroutines tasks to do from time to time
Appwrite - The Open Source Firebase alternative introduces iOS support
Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!
Do you think we are missing an alternative of NonEmptyCollections or a related project?