
{{alias}}( buffer )
    Returns the data type enumeration constant for an ndarray data buffer.

    If provided a buffer argument having an unknown or unsupported type, the
    function returns `null`.

    Parameters
    ----------
    buffer: any
        ndarray data buffer.

    Returns
    -------
    out: integer|null
        Data type enumeration constant.

    Examples
    --------
    > var buf = new {{alias:@stdlib/array/float64}}( 10 );
    > var c = {{alias}}( buf )
    <number>
    > c = {{alias}}( 'beep' )
    null

    See Also
    --------

