You can just do:

    return resources.every((r) => r is ws.File);