Standard LibraryTypesSliceMethodsresolveOn this pageresolve Method of Slice. resolve(integer size) -> ResolvedSlice Resolves the slice parameters for a given container size. Parameters size: The size of the container to resolve the slice for.