Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ limitations under the License.

# isMostlySafeCast

> Determine whether an array [data type][@stdlib/array/dtypes] can be safely cast or, for floating-point data types, downcast to another array [data type][@stdlib/array/dtypes].
> Test if an array [data type][@stdlib/array/dtypes] can be safely cast or, for floating-point data types, downcast to another array [data type][@stdlib/array/dtypes].

<!-- Section to include introductory text. Make sure to keep an empty line after the intro `section` element and another before the `/section` close. -->

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@

{{alias}}( from, to )
Returns a boolean indicating whether a provided array data type can be
safely cast or, for floating-point data types, downcast to another array
data type.
Tests if a provided array data type can be safely cast or, for
floating-point data types, downcast to another array data type.

Parameters
----------
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@stdlib/array/base/assert/is-mostly-safe-data-type-cast",
"version": "0.0.0",
"description": "Determine if an array data type can be safely cast or, for floating-point data types, downcast to another array data type.",
"description": "Test if an array data type can be safely cast or, for floating-point data types, downcast to another array data type.",
"license": "Apache-2.0",
"author": {
"name": "The Stdlib Authors",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ limitations under the License.

# isSafeCast

> Determine whether an array [data type][@stdlib/array/dtypes] can be safely cast to another array [data type][@stdlib/array/dtypes].
> Test if an array [data type][@stdlib/array/dtypes] can be safely cast to another array [data type][@stdlib/array/dtypes].

<!-- Section to include introductory text. Make sure to keep an empty line after the intro `section` element and another before the `/section` close. -->

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

{{alias}}( from, to )
Returns a boolean indicating whether a provided array data type can be
safely cast to another array data type.
Tests if a provided array data type can be safely cast to another array
data type.

Parameters
----------
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@stdlib/array/base/assert/is-safe-data-type-cast",
"version": "0.0.0",
"description": "Determine if an array data type can be safely cast to another array data type.",
"description": "Test if an array data type can be safely cast to another array data type.",
"license": "Apache-2.0",
"author": {
"name": "The Stdlib Authors",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ limitations under the License.

# isSameKindCast

> Determine whether an array [data type][@stdlib/array/dtypes] can be safely cast to, or is of the same "kind" as, another array [data type][@stdlib/array/dtypes].
> Test if an array [data type][@stdlib/array/dtypes] can be safely cast to, or is of the same "kind" as, another array [data type][@stdlib/array/dtypes].

<!-- Section to include introductory text. Make sure to keep an empty line after the intro `section` element and another before the `/section` close. -->

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

{{alias}}( from, to )
Returns a boolean indicating whether a provided array data type can be
safely cast to, or is of the same "kind" as, another array data type.
Tests if a provided array data type can be safely cast to, or is of the
same "kind" as, another array data type.

Parameters
----------
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@stdlib/array/base/assert/is-same-kind-data-type-cast",
"version": "0.0.0",
"description": "Determine if an array data type can be safely cast to, or is of the same kind as, another array data type.",
"description": "Test if an array data type can be safely cast to, or is of the same kind as, another array data type.",
"license": "Apache-2.0",
"author": {
"name": "The Stdlib Authors",
Expand Down