core-ktx / androidx.time / kotlin.Int / nanos

nanos

inline fun Int.nanos(): Duration

Return a Duration representing this value in nanoseconds.

See Also

Duration.ofNanos