
The replaces the NextJS site powering FreeSewing.dev with a Docusaurus setup. It's part of my efforts to simplify FreeSewing's setup so we can focus on our core value proposition.
17 lines
296 B
Text
17 lines
296 B
Text
---
|
|
title: Defs.setIfUnset()
|
|
---
|
|
|
|
Sets the defs entry stored under _name_ to _value_, but only if it
|
|
is not currently set to any value (if it is undefined).
|
|
|
|
## Signature
|
|
|
|
```js
|
|
Defs defs.setIfUnset(
|
|
String name,
|
|
String value
|
|
)
|
|
```
|
|
|
|
This object is chainable as it returns the `Defs` object.
|