Constructors
constructor
- new ValueTypeManager(options?): ValueTypeManager
Properties
Protected
Readonly
map
Protected
Readonly
options
Methods
forEach
- forEach(iter): void
Parameters
iter: ((value, key, map) => void)
- (value, key, map): void
Returns void
Returns void
get
- get(type): ValueTypeItem
has
- has(type): boolean
Returns boolean
register
- register(type, options): this
Returns this
value
- value(type, input, params?, format?): IValueResult
Parameters
type: string
input: any
Optional
params: any
Optional
format: boolean
遍历类型