SyntaxFix
Write A Post
Hire A Developer
Questions
if (list instanceof List && ((List) list).stream() .noneMatch((o -> !(o instanceof MyType)))) {}