Motion
Get Motion

ReferenceScript nodesUtilities › Text

Is Numeric

True for a number, or text that is one.

Utilities › TextPure: no flow pinsisNumber

Inputs

PinTypeStarts atNotes
Source Textvalueany"12"–

Outputs

PinType
Resultoutbool

The code it becomes

The graph below written as a script would write it.

// On Scene Startscene.log(((function (v) { return typeof v === "number" ? isFinite(v) : typeof v === "string" && /^[+-]?(\d+\.?\d*|\.\d+)(e[+-]?\d+)?$/i.test(v.trim()); })(12)));

In a graph

The node with what starts it and Print to show what it gives, as Studio draws them.