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)
    valveOf
    (
    T
    Chain
    )
    (
    ref Chain pipe
    )
    if (
    isType!T &&
    isIopipe!Chain
    &&
    hasValve!Chain
    )
  2. auto valveOf(Chain pipe)

Parameters

T

type or template of valve you are looking for

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