NumberType
Hierarchy
- NodeTrait
- NumberType
Index
Constructors
Properties
Accessors
Methods
Constructors
publicconstructor
Parameters
__namedParameters: SchemaOptions<Partial<NumberOptions>>
Returns NumberType
Properties
public_attributes
Type declaration
generic: GenericAttributes
typescript: TypescriptAttributes
publicoptional_canReference
publicoptional_children
publicoptional_connections
public_definition
publicoptional_hooks
public_id
public_isCommutative
publicoptional_name
public_options
publicoptional_sourcePath
publicoptional_transform
Type declaration
optionalaliasName?: (name: string) => string
Parameters
name: string
Returns string
optionalreferenceName?: (name: string) => string
Parameters
name: string
Returns string
optionalsymbolName?: (name: string) => string
Parameters
name: string
Returns string
public_type
publicinfer
publicinput
Accessors
public_output
Returns undefined | (TypescriptOutput | GenericOutput)[]
Methods
publicarbitrary
Parameters
options: Partial<FloatGenerator>
Returns NumberType
publicarray
Parameters
options: SchemaOptions<ArrayOptions> = {}
Returns ArrayType<NumberType>
publiccompile
Parameters
__namedParameters: { formats?: boolean } = {}
optionalformats: boolean = true
Returns Schema<number>
publicdefault
Parameters
value: number
Returns DefaultType<NumberType>
publicdescribe
Parameters
description: string
Returns this
publicgt
Parameters
value: number
Returns NumberType
publicgte
Parameters
value: number
Returns NumberType
publicjsonschema
Parameters
schema: JsonSchema<number>
Returns this
publiclt
Parameters
value: number
Returns NumberType
publiclte
Parameters
value: number
Returns NumberType
publicmultipleOf
Parameters
value: number
Returns NumberType
publicnegative
Returns NumberType
publicnonnegative
Returns NumberType
publicnonpositive
Returns NumberType
publicnullable
Returns NullableType<NumberType>
publicoptional
Returns OptionalType<NumberType>
publicpositive
Returns NumberType
publicreference
Parameters
options: SchemaOptions<object> = {}
Returns RefType<NumberType>
publicvalidator
Parameters
validator: Partial<ValidatorOptions> = {}
Returns this