Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "strided/base/dtype-resolve-enum/docs/types/index.d"

Index

Functions

Functions

resolve

  • resolve(dtype: any): number | null
  • Returns the enumeration constant associated with a strided array data type value.

    Notes

    • Downstream consumers of this function should not rely on specific integer values (e.g., INT8 == 0). Instead, the function should be used in an opaque manner.

    Parameters

    • dtype: any

      data type value

    Returns number | null

    enumeration constant

    Example

    var v = resolve( 'float64' );
    // returns <number>