randomOrNullLaw

inline fun <T> Array<T>.randomOrNullLaw(): T?