# UtilsAPI.isTransformableLayer
Returns true if the given value is a TransformableLayer.

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

## UtilsAPI.isTransformableLayer() method

Returns `true` if the given value is a [TransformableLayer](/en/creator-api/nodes/transformable-layer).

**Signature:**

```typescript
isTransformableLayer(node: Layer | Shape): node is TransformableLayer;
```

## Parameters

<table>
  <thead>
    <tr>
      <th>
        Parameter
      </th>

      <th>
        Type
      </th>

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

  <tbody>
    <tr>
      <td>
        node
      </td>

      <td>
        [Layer](/en/creator-api/nodes/layer) | [Shape](/en/creator-api/nodes/shape)
      </td>

      <td>
        The value to check
      </td>
    </tr>
  </tbody>
</table>

**Returns:**

node is [TransformableLayer](/en/creator-api/nodes/transformable-layer)

`true` if `node` is a [TransformableLayer](/en/creator-api/nodes/transformable-layer), otherwise `false`.

## Example

```ts
for (const node of creator.selection.nodes) {
  if (creator.utils.isTransformableLayer(node)) {
    // node is narrowed to TransformableLayer
    console.log(node.position.staticValue);
  }
}
```
