Commit b4606f8
committed
style: replace
Match the established enum2str pattern used by `blas/base/transpose-operation-enum2str`
and the other BLAS enum2str packages: drop the `@stdlib/assert/is-string`
import and use an inline `typeof v === 'string'` guard instead.isString with inline typeof check in ml/base/kmeans/algorithm-enum2str
1 parent e859fb4 commit b4606f8
1 file changed
Lines changed: 1 addition & 2 deletions
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
| |||
51 | 50 | | |
52 | 51 | | |
53 | 52 | | |
54 | | - | |
| 53 | + | |
55 | 54 | | |
56 | 55 | | |
57 | 56 | | |
| |||
0 commit comments