[Docs] Samples for 'step' function

This commit is contained in:
Alex Kuznetsov
2023-08-25 04:57:05 +02:00
committed by Space Team
parent 53645bce2b
commit 35b3a9ec82
4 changed files with 51 additions and 0 deletions
@@ -68,6 +68,7 @@ object RangeOps : TemplateGroupBase() {
} builder {
infix(true)
doc { "Returns a progression that goes over the same range with the given step." }
sample("samples.ranges.Ranges.step$primitive")
signature("step(step: ${primitive!!.stepType})", notForSorting = true)
returns("TProgression")
body {