UNPKG

@stdlib/ndarray-base-assert-is-mostly-safe-data-type-cast

Version:

Determine if an ndarray data type can be safely cast or, for floating-point data types, downcast to another ndarray data type.

83 lines (82 loc) 1.76 kB
{ "name": "@stdlib/ndarray-base-assert-is-mostly-safe-data-type-cast", "version": "0.2.2", "description": "Determine if an ndarray data type can be safely cast or, for floating-point data types, downcast to another ndarray data type.", "license": "Apache-2.0", "author": { "name": "The Stdlib Authors", "url": "https://github.com/stdlib-js/stdlib/graphs/contributors" }, "contributors": [ { "name": "The Stdlib Authors", "url": "https://github.com/stdlib-js/stdlib/graphs/contributors" } ], "main": "./lib", "directories": { "doc": "./docs", "include": "./include", "lib": "./lib", "src": "./src", "dist": "./dist" }, "types": "./docs/types", "scripts": {}, "homepage": "https://stdlib.io", "repository": { "type": "git", "url": "git://github.com/stdlib-js/ndarray-base-assert-is-mostly-safe-data-type-cast.git" }, "bugs": { "url": "https://github.com/stdlib-js/stdlib/issues" }, "dependencies": { "@stdlib/ndarray-dtypes": "^0.2.1", "@stdlib/ndarray-mostly-safe-casts": "^0.3.0" }, "devDependencies": {}, "engines": { "node": ">=0.10.0", "npm": ">2.7.0" }, "os": [ "aix", "darwin", "freebsd", "linux", "macos", "openbsd", "sunos", "win32", "windows" ], "keywords": [ "stdlib", "stdtypes", "types", "base", "ndarray", "casting", "safe", "cast", "promotion", "test", "assert", "check", "validate", "validation", "valid", "multidimensional", "array", "utilities", "utility", "utils", "util" ], "__stdlib__": {}, "funding": { "type": "opencollective", "url": "https://opencollective.com/stdlib" } }