feat(editor): Add examples for number & boolean, add new methods (#9358)
This commit is contained in:
@@ -6,7 +6,12 @@ export const booleanMethods: NativeDoc = {
|
||||
toString: {
|
||||
doc: {
|
||||
name: 'toString',
|
||||
description: 'returns a string representing this boolean value.',
|
||||
description:
|
||||
"Converts <code>true</code> to the string <code>'true'</code> and <code>false</code> to the string <code>'false'</code>.",
|
||||
examples: [
|
||||
{ example: 'true.toString()', evaluated: "'true'" },
|
||||
{ example: 'false.toString()', evaluated: "'false'" },
|
||||
],
|
||||
docURL:
|
||||
'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean/toString',
|
||||
returnType: 'string',
|
||||
|
||||
Reference in New Issue
Block a user