mirror of
https://github.com/Suwayomi/Suwayomi-Server.git
synced 2026-07-10 06:14:35 -05:00
Default is now a category, no more library
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
package suwayomi.tachidesk.manga.impl.util.lang
|
||||
|
||||
/*
|
||||
* Copyright (C) Contributors to the Suwayomi project
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
|
||||
|
||||
import org.jetbrains.exposed.sql.Query
|
||||
|
||||
fun Query.isEmpty() = this.count() == 0L
|
||||
|
||||
fun Query.isNotEmpty() = !this.isEmpty()
|
||||
Reference in New Issue
Block a user