value(as:)
Returns the wrapped value if it is of type T, otherwise nil.
Declaration
func value<T>(as type: T.Type = T.self) -> T? where T : USDValueProtocolReturns the wrapped value if it is of type T, otherwise nil.
func value<T>(as type: T.Type = T.self) -> T? where T : USDValueProtocol