func (types *Types) SliceOf(t reflect.Type) reflect.Type {
	if st, ok := t.(runtime.ScriggoType); ok {
		return sliceType{
			Type: reflect.SliceOf(st.GoType()),
			elem: st,
		}
	}
	return reflect.SliceOf(t)
}
SliceOf behaves like reflect.SliceOf except when elem is a Scriggo type; in
such case a new Scriggo slice type is created and returned as reflect.Type.
package types
import (
	"reflect"
	"github.com/open2b/scriggo/internal/runtime"
)