Class: BuilderNode

BuilderNode()

A class that represents a process node and also a result from a process.

Constructor

new BuilderNode()

Source:

Methods

description(description) → {string|BuilderNode}

Gets/Sets a description for the node.

Can be used in a variety of ways:

By default, this is a function: node.description() - Returns the description. node.description("foo") - Sets the description to "foo". Returns the node itself for method chaining.

You can also "replace" the function, then it acts as normal property and the function is not available any longer: node.description = "foo" - Sets the description to "foo". Afterwards you can call node.description as normal object property.

Parameters:
Name Type Description
description string | undefined

Optional: If given, set the value.

Source:
Returns:
Type
string | BuilderNode