Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
schema
v0.2.7
Equal
Exclusion
GreaterThan
GreaterThanOrEqual
Inclusion
LessThan
LessThanOrEqual
Presence
RegularExpression
Required
Schema
Constraint
Definition
EmptyIndexForNonScalarArrayParamError
Error
ExplicitKeyForNonScalarParam
InvalidParamIndexError
NestedContentForScalarParamError
ParamIndexOutOfBoundsError
ParamMissingError
ParamTypeCastError
Scalar
Error
Errors
Param
Predicates
Validation
ValidationError
Validator
Size
Time
EpochConverter
ISO8601Converter
LocalConverter
TimeConverter
Tuple
URI
Built with Crystal 1.9.2
2023-10-08 12:59:46 UTC
module
Size
Direct including types
Schema::Predicates
Defined in:
schema/validation/predicates/size.cr
Instance Method Summary
#size?
(value, size : Int)
#size?
(value, size : Range)
Instance Method Detail
def
size?
(value, size : Int)
#
[
View source
]
def
size?
(value, size : Range)
#
[
View source
]