A slice is a sublist of a list. Creating a slice does not copy the original list, and changes to the list also change a slice of the list.
‣ Slice( ) | ( function ) |
Returns: a slice
Constructor for slices
‣ IsSlice( arg ) | ( filter ) |
Returns: true or false
Category of slices
11.1-3 \[\]‣ \[\]( slice, value ) | ( operation ) |
List-style access for slices.
11.1-4 \[\]\:\=‣ \[\]\:\=( slice, value, object ) | ( operation ) |
List-style assignment for slices.
11.1-5 \in‣ \in( object, slice ) | ( operation ) |
Test whether a value is stored in the slice.
11.1-6 IsBound\[\]‣ IsBound\[\]( slice, value ) | ( operation ) |
Test whether a location is bound in a slice.
11.1-7 Unbind\[\]‣ Unbind\[\]( slice, value ) | ( operation ) |
Unbind a value from a slice.
‣ Length( slice ) | ( operation ) |
Determine the length of a slice.
generated by GAPDoc2HTML