jax-js
    Preparing search index...

    Function resultType

    • Return the dtype resulting from applying type promotion rules to the arguments, which may be arrays, JS numbers or booleans, or dtypes.

      Weakly typed values (e.g., JS numbers) only affect the result when every argument is weakly typed, following the same rules as promoteTypes(). Does not consume array references.

      Parameters

      Returns DType