MCPcopy
hub / github.com/stretchr/testify / isType

Function isType

assert/assertions.go:458–460  ·  view source on GitHub ↗
(expectedType, object interface{})

Source from the content-addressed store, hash-verified

456}
457
458func isType(expectedType, object interface{}) bool {
459 return ObjectsAreEqual(reflect.TypeOf(object), reflect.TypeOf(expectedType))
460}
461
462// IsType asserts that the specified objects are of the same type.
463//

Callers 2

IsTypeFunction · 0.85
IsNotTypeFunction · 0.85

Calls 1

ObjectsAreEqualFunction · 0.85

Tested by

no test coverage detected