mirror of
https://github.com/n8n-io/n8n.git
synced 2026-06-02 09:47:00 +02:00
22 lines
633 B
TypeScript
22 lines
633 B
TypeScript
import type { NativeDoc } from '../extensions/extensions';
|
|
|
|
export const booleanMethods: NativeDoc = {
|
|
typeName: 'Boolean',
|
|
functions: {
|
|
toString: {
|
|
doc: {
|
|
name: 'toString',
|
|
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',
|
|
},
|
|
},
|
|
},
|
|
};
|