step

..  step(r)

Get the step size of a :obj:`Range` object.

Examples

julia> step(1:10)
1

julia> step(1:2:20)
2

julia> step(1:-1:2)
-1

See Also

User Contributed Notes

Add a Note

The format of note supported is markdown, use triple backtick to start and end a code block.

*Required Field
Details

Checking you are not a robot: