MCPcopy Index your code
hub / github.com/ParallelTask/dinoloop / BindInteger

Function BindInteger

src/api/attributes.ts:50–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48 * Decorate on Action Parameters to transform values to Integer
49 */
50export function BindInteger()
51 : (target: any, propertyKey: string, parameterIndex: number) => void {
52 return AttributeMetadata.parse(toInteger, undefined, false);
53}
54
55/**
56 * Decorate on Action Parameters to validate against RegExp

Callers 3

bindIntegerMethod · 0.85
attributes.spec.tsFile · 0.85
bindIntegerMethod · 0.85

Calls

no outgoing calls

Tested by 1

bindIntegerMethod · 0.68