sliceIndex

Given an array and its slice, returns the start index of the slice inside the array. The reverse operation of slicing an array.

@trusted
size_t
sliceIndex
(
T
)
(
in T[] arr
,
in T[] slice
)

Meta