hasToolArgsPreviewByToolId method

bool hasToolArgsPreviewByToolId(
  1. String toolId
)

Implementation

bool hasToolArgsPreviewByToolId(String toolId) {
  final String normalizedToolId = toolId.trim();
  if (normalizedToolId.isEmpty) return false;
  return ToolArgsDeltaService.hasPreview(
    toolId: normalizedToolId,
    previewsById: toolArgsPreviewContentsById,
    rawBuffersById: _toolArgsDeltaBuffers,
  );
}