ProtoFlux:NiceTypeName: Difference between revisions

From Resonite Wiki
Created a page for the Nice Type Name node.
 
m YoshBot moved page ProtoFlux:Nice Type Name to ProtoFlux:NiceTypeName: Automated: removing spaces from ProtoFlux namespace
 
(One intermediate revision by one other user not shown)
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 00:28, 21 August 2025

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.