You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/node_modules/@stdlib/ndarray/base/assert/is-same-kind-data-type-cast/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ var isSameKindCast = require( '@stdlib/ndarray/base/assert/is-same-kind-data-typ
42
42
43
43
#### isSameKindCast( from, to )
44
44
45
-
Returns a `boolean` indicating whether an ndarray [data type][@stdlib/ndarray/dtypes] can be safely cast to, or is of the same "kind" as, another ndarray [data type][@stdlib/ndarray/dtypes] (e.g., casting between signed integers or between floats).
45
+
Returns a boolean indicating whether an ndarray [data type][@stdlib/ndarray/dtypes] can be safely cast to, or is of the same "kind" as, another ndarray [data type][@stdlib/ndarray/dtypes] (e.g., casting between signed integers or between floats).
t.strictEqual(actual,expected,'returns expected value. from: '+dt+'. to: '+DTYPES[j]+'.');
79
+
}
80
+
}
81
+
t.end();
82
+
});
83
+
84
+
tape('the function returns a boolean indicating if an ndarray data type can be cast to another ndarray data type (data type, strings)',functiontest(t){
0 commit comments