package eu.kanade.data fun Boolean.toLong() = if (this) 1L else 0L