Function isArrayBuffer

  • 检查是否为 ArrayBuffer

    Parameters

    • value: any

    Returns boolean

    isArrayBuffer(new ArrayBuffer()); /// true
    isArrayBuffer(null); /// false