Skip to main content
isUint8ClampedArray - node__util--types.d.ts - Node documentation
function isUint8ClampedArray

Usage in Deno

```typescript import { isUint8ClampedArray } from "node:node__util--types.d.ts"; ```
isUint8ClampedArray(object: unknown): object is Uint8ClampedArray
Returns `true` if the value is a built-in [`Uint8ClampedArray`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8ClampedArray) instance. ```js util.types.isUint8ClampedArray(new ArrayBuffer()); // Returns false util.types.isUint8ClampedArray(new Uint8ClampedArray()); // Returns true util.types.isUint8ClampedArray(new Float64Array()); // Returns false ```

Parameters

object: unknown

Return Type

object is Uint8ClampedArray