# UtilsAPI
Utility helpers for working with the plugin API.

{/* Do not edit this file. It is automatically generated by API Documenter. */}

## UtilsAPI interface

Utility helpers for working with the plugin API.

**Signature:**

```typescript
interface UtilsAPI
```

## Remarks

Provides type guards for narrowing unknown values into [Layer](/en/creator-api/nodes/layer), [TransformableLayer](/en/creator-api/nodes/transformable-layer) or [Shape](/en/creator-api/nodes/shape) unions. Useful when iterating over collections of mixed nodes (e.g. `creator.selection.nodes`).

## Methods

<table>
  <thead>
    <tr>
      <th>
        Method
      </th>

      <th>
        Description
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        [isLayer(node)](/en/creator-api/utils-api/is-layer)
      </td>

      <td>
        Returns `true` if the given value is a [Layer](/en/creator-api/nodes/layer).
      </td>
    </tr>

    <tr>
      <td>
        [isShape(node)](/en/creator-api/utils-api/is-shape)
      </td>

      <td>
        Returns `true` if the given value is a [Shape](/en/creator-api/nodes/shape).
      </td>
    </tr>

    <tr>
      <td>
        [isTransformableLayer(node)](/en/creator-api/utils-api/is-transformable-layer)
      </td>

      <td>
        Returns `true` if the given value is a [TransformableLayer](/en/creator-api/nodes/transformable-layer).
      </td>
    </tr>
  </tbody>
</table>
