Collections\TypeValidator::nonScalarTypeExists PHP Method

nonScalarTypeExists() private method

private nonScalarTypeExists ( $type )
    private function nonScalarTypeExists($type)
    {
        return class_exists($type) || interface_exists($type) || in_array($type, ["array", "object", "callable"]);
    }