new BooleanParam(parent, name, doc)
Parameters:
Name |
Type |
Description |
parent |
string
|
|
name |
string
|
|
doc |
string
|
|
- Source:
Extends
Methods
doc() → {Promise.<string>}
- Inherited From:
- Source:
Returns:
-
Type
-
Promise.<string>
equals(obj) → {Promise.<boolean>}
Parameters:
- Inherited From:
- Source:
Returns:
-
Type
-
Promise.<boolean>
hashCode() → {Promise.<Number>}
- Inherited From:
- Source:
Returns:
-
Type
-
Promise.<Number>
jsonDecode(json) → {Promise.<object>}
Decodes a param value from JSON.
Parameters:
Name |
Type |
Description |
json |
string
|
|
- Inherited From:
- Source:
Returns:
-
Type
-
Promise.<object>
jsonEncode(value) → {Promise.<string>}
Encodes a param value into JSON, which can be decoded by jsonDecode().
Parameters:
Name |
Type |
Description |
value |
object
|
|
- Inherited From:
- Source:
Returns:
-
Type
-
Promise.<string>
name() → {Promise.<string>}
- Inherited From:
- Source:
Returns:
-
Type
-
Promise.<string>
parent() → {Promise.<string>}
- Inherited From:
- Source:
Returns:
-
Type
-
Promise.<string>
toString() → {Promise.<string>}
- Inherited From:
- Source:
Returns:
-
Type
-
Promise.<string>
Creates a param pair with the given value
Parameters:
Name |
Type |
Description |
value |
object
|
|
- Inherited From:
- Source:
Returns:
-
Type
-
module:eclairjs/ml/param.ParamPair