---
title: Defs.set()
---

Sets the defs entry stored under _name_ to _value_.

## Signature

```js
Defs defs.set(
  String name,
  String value
)
```

This object is chainable as it returns the `Defs` object.

