UNPKG

@stdlib/ndarray-base-assert-is-allowed-data-type-cast

Version:

Determine if an ndarray data type can be cast to another ndarray data type according to a specified casting mode.

86 lines (85 loc) 1.99 kB
{ "name": "@stdlib/ndarray-base-assert-is-allowed-data-type-cast", "version": "0.3.1", "description": "Determine if an ndarray data type can be cast to another ndarray data type according to a specified casting mode.", "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-allowed-data-type-cast.git" }, "bugs": { "url": "https://github.com/stdlib-js/stdlib/issues" }, "dependencies": { "@stdlib/ndarray-base-assert-is-mostly-safe-data-type-cast": "^0.3.0", "@stdlib/ndarray-base-assert-is-safe-data-type-cast": "^0.3.1", "@stdlib/ndarray-base-assert-is-same-kind-data-type-cast": "^0.3.1", "@stdlib/ndarray-base-dtype-resolve-str": "^0.3.1", "@stdlib/ndarray-casting-modes": "^0.2.3", "@stdlib/ndarray-dtypes": "^0.4.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", "cast", "mode", "promotion", "test", "assert", "check", "validate", "validation", "valid", "multidimensional", "array", "utilities", "utility", "utils", "util" ], "funding": { "type": "opencollective", "url": "https://opencollective.com/stdlib" } }