Class: BooleanParam

eclairjs/ml/param. BooleanParam

new BooleanParam(parent, name, doc)

Parameters:
Name Type Description
parent string
name string
doc string
Source:

Extends

Methods

equals(obj) → {boolean}

Parameters:
Name Type Description
obj module:eclairjs/ml/param.Param
Inherited From:
Source:
Returns:
Type
boolean

hashCode() → {integer}

Inherited From:
Source:
Returns:
Type
integer

jsonDecode(json) → {object}

Decodes a param value from JSON.
Parameters:
Name Type Description
json string
Inherited From:
Source:
Returns:
Type
object

jsonEncode(value) → {string}

Encodes a param value into JSON, which can be decoded by jsonDecode().
Parameters:
Name Type Description
value object
Inherited From:
Source:
Returns:
Type
string

toString() → {string}

Inherited From:
Source:
Returns:
Type
string

w(value) → {module:eclairjs/ml/param.ParamPair}

Creates a param pair with the given value
Parameters:
Name Type Description
value object
Inherited From:
Source:
Returns:
Type
module:eclairjs/ml/param.ParamPair