isSliceOf

fnbool isSliceOf(T1, T2)(scope const(T1)[] needle, scope const(T2)[] haystack) @trusted pure nothrow @nogc

Determines whether needle is a slice of haystack.

History

Added on February 11, 2025.