toLength

fun toLength(args: Array<Any?>, index: Int): Long
fun toLength(value: Any?): Long