Log inGet started
World

Builtin Library

Branchmain
Branchesmainpublish
Commitdd348ac6c3

README.md

value.present (procNode)

Whether anything is wired into value, as a Bool: what a graph used as a node asks of an input its caller may leave unwired, to decide what it does. The answer is known when the graph is planned.

Inputs

  • value (Any, optional): the input asked about.

Outputs

  • present (Bool): true when value is wired.

Example

local mask = g:input("mask", nil, { type = "Field", optional = true })
local masked = g.value.present({ value = mask })