# `Igniter.Code.String`
[🔗](https://github.com/ash-project/igniter/blob/v0.8.3/lib/igniter/code/string.ex#L5)

Utilities for working with strings.

# `string?`

```elixir
@spec string?(Sourceror.Zipper.t()) :: boolean()
```

Returns true if the node represents a literal string, false otherwise.

# `update_string`

```elixir
@spec update_string(Sourceror.Zipper.t(), (String.t() -&gt; {:ok, String.t()} | :error)) ::
  {:ok, Sourceror.Zipper.t()} | :error
```

Updates a node representing a string with the result of the given function

---

*Consult [api-reference.md](api-reference.md) for complete listing*
