---
title: isValid
framework: createml
role: symbol
role_heading: Instance Property
path: createml/mlwordtaggermetrics/isvalid
---

# isValid

A Boolean value indicating whether the metrics were calculated.

## Declaration

```swift
var isValid: Bool { get }
```

## Discussion

Discussion Your metrics may be invalid if you attempt to perform evaluation on data that doesn’t match the structure of your training examples.

## See Also

### Handling errors

- [error](createml/mlwordtaggermetrics/error.md)
