19 lines
322 B
Swift
19 lines
322 B
Swift
//
|
|
// VDSConstants.swift
|
|
// VDS
|
|
//
|
|
// Created by Matt Bruce on 8/3/22.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
public func updated <T> (_ value: T, with update: (inout T) -> Void) -> T {
|
|
var editable = value
|
|
update(&editable)
|
|
return editable
|
|
}
|
|
|
|
public struct VDSConstants {
|
|
public static let ModelStateDebounce = 0.02
|
|
}
|