src/Asserts/Categories/AssertObjectTrait.php
public static function assertObjectIsA($object, string $type, Throwable $exception)
    {
        static::makeAssertion(\is_a($object, $type), $exception);
        return $object;
    }
public static function assertObjectIsA($object, string $type, Throwable $exception)
    {
        static::makeAssertion(\is_a($object, $type), $exception);
        return $object;
    }
public static function assertObjectIsA ( $ object , string $ type , Throwable $ exception ) { static :: makeAssertion ( \ is_a ( $ object , $ type ) , $ exception ) ; return $ object ; }
Asserts that the given object is an instance of the given type.

@param mixed $object The given object to test.
@param string $type The expected type of the given object.
@param Throwable $exception The exception to throw if the assertion fails.
@return mixed The given object tested.
Asserts that the given object is an instance of the given type .