diff options
| author | Andrej Mihajlov <and@codeispoetry.ru> | 2017-03-10 14:09:26 +0000 |
|---|---|---|
| committer | Andrej Mihajlov <and@codeispoetry.ru> | 2017-03-10 14:09:26 +0000 |
| commit | 767148f976f942bb68d4bc6c4d09b076aa6e39e0 (patch) | |
| tree | ded2073ba040fdf4cfa32c24757408c5de540517 /app/lib/enum.js | |
| parent | fcb95d50305c99368e2a19627ca1306a93888912 (diff) | |
| download | mullvadvpn-767148f976f942bb68d4bc6c4d09b076aa6e39e0.tar.xz mullvadvpn-767148f976f942bb68d4bc6c4d09b076aa6e39e0.zip | |
Update documentation
Diffstat (limited to 'app/lib/enum.js')
| -rw-r--r-- | app/lib/enum.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/lib/enum.js b/app/lib/enum.js index 0655fc4288..1815a551f7 100644 --- a/app/lib/enum.js +++ b/app/lib/enum.js @@ -1,5 +1,12 @@ /** * Creates enum object with keys provided as arguments + * + * @constructor + * @type Enum + * @property {bool} isValid({string}) whether key is valid + * @param {...string} ... Enum keys + * @export + * @returns Enum */ export default function Enum() { let object = Object.create({}); |
