isNightMode

fun isNightMode(context: Context): Boolean

是否为夜间模式

Return

true 表示夜间模式, false 表示非夜间模式

Parameters

context

context