yaml tests passing using a personl instance of ES, working on specifying the host/port
This commit is contained in:
7
scripts/generate/js_api/templates/boolean.param.tmpl
Normal file
7
scripts/generate/js_api/templates/boolean.param.tmpl
Normal file
@ -0,0 +1,7 @@
|
||||
if (<%= get %>.toLowerCase && (<%= get %> = <%= get %>.toLowerCase())
|
||||
&& (<%= get %> === 'no' || <%= get %> === 'off')
|
||||
) {
|
||||
<%= set %> = false;
|
||||
} else {
|
||||
<%= set %> = !!<%= get %>;
|
||||
}
|
||||
Reference in New Issue
Block a user