MCPcopy Index your code
hub / github.com/DoNewsCode/core / isCleanup

Function isCleanup

c.go:449–454  ·  view source on GitHub ↗
(v reflect.Type)

Source from the content-addressed store, hash-verified

447}
448
449func isCleanup(v reflect.Type) bool {
450 if v.Kind() == reflect.Func && v.NumIn() == 0 && v.NumOut() == 0 {
451 return true
452 }
453 return false
454}
455
456type cleanup func()
457

Callers 2

provideMethod · 0.85
AddModuleFuncMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected