valveOf

Go down the chain of valves until you find a valve of the given type. This is useful if you know there is a pipe you are looking for in the chain of valves.

  1. auto valveOf(Chain pipe)
  2. auto valveOf(Chain pipe)
    valveOf
    (
    Chain
    )
    (
    ref Chain pipe
    )
    if (
    !isType!X &&
    isIopipe!Chain
    &&
    hasValve!Chain
    )

Parameters

pipe Chain

iopipe you are searching

Return Value

Type: auto

a valve of the specified type or template. If such a valve doesn't exist, a static error occurs.

Meta