@stdlib/ndarray-base-assert-is-casting-modeTest if an input value is a supported ndarray casting mode.