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-safe-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 isSafeCast = require( '@stdlib/ndarray/base/assert/is-safe-data-type-cast' )
42
42
43
43
#### isSafeCast( from, to )
44
44
45
-
Returns a `boolean` indicating whether an ndarray [data type][@stdlib/ndarray/dtypes] can be safely cast to another ndarray [data type][@stdlib/ndarray/dtypes].
45
+
Returns a boolean indicating whether an ndarray [data type][@stdlib/ndarray/dtypes] can be safely cast to another ndarray [data type][@stdlib/ndarray/dtypes].
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 safely cast to another ndarray data type (data type, strings)',functiontest(t){
tape('the function returns a boolean indicating if an ndarray data type can be safely cast to another ndarray data type (data type, struct)',functiontest(t){
0 commit comments