checkbounds(::Type{Bool}, ::Integer, index)

checkbounds(::Type{Bool}, dimlength::Integer, index)

Return a Bool describing if the given index is within the bounds of the given dimension length. Custom types that would like to behave as indices for all arrays can extend this method in order to provide a specialized bounds checking implementation.

Examples

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: