ProtoFlux:Nice Type Name: Difference between revisions

From Resonite Wiki
Created a page for the Nice Type Name node.
 
Small correction.
 
Line 14: Line 14:
|}}
|}}


The <code>Nice Type Name</code> node takes in a [[Type:Type|Type]] as well as optional open and close symbols, then returns the nice type name of the provided type. For example, using a type that has a [[Type:float|float]] and connecting it to this node, it will return <code>float</code>.
The <code>Nice Type Name</code> node takes in a [[Type:Type|Type]] as well as optional open and close symbols, then returns the pretty human readable name of the provided type. For example, using a type that has a [[Type:float|float]] and connecting it to this node, it will return <code>float</code>.


{{Note|Usually used with the [[ProtoFlux:Get Type|Get Type]] node.|suggestion}}
{{Note|Usually used with the [[ProtoFlux:Get Type|Get Type]] node.|suggestion}}

Latest revision as of 07:04, 23 May 2024

Nice Type Name
Type
*
OpenSymbol
CloseSymbol
Utility

The Nice Type Name node takes in a Type as well as optional open and close symbols, then returns the pretty human readable name of the provided type. For example, using a type that has a float and connecting it to this node, it will return float.

Usually used with the Get Type node.

Inputs

Type (Type)

The type we want the nice name of.

OpenSymbol (String)

The open symbol from this type (defaults to <).

CloseSymbol (String)

The close symbol from this type (defaults to >).

Outputs

* (String)

Returns the nice type name.