neotype
neotype
API
neotype
Calc
Constant
EqualTo
GreaterThan
LessThan
GreaterThanOrEqual
LessThanOrEqual
And
Or
Not
Add
ToDouble
Length
Substring
ToUpper
ToLower
StartsWith
EndsWith
Contains
MatchesRegex
RegexMatches
StringNonEmpty
StringIsEmpty
StringApply
StringTrim
WithMessage
Block
Reference
Calc
CalcDef
Newtype
Newtype
Simple
Simple
Seal
Subtype
Subtype
Simple
Simple
Uninlined
Unseal
ValidatedWrapper
ValidateEvidence
Wrapper
neotype
/
neotype
/
Subtype
Subtype
neotype.Subtype
See the
Subtype
companion object
abstract opaque
class
Subtype
[
A
](
using
fromExpr
:
FromExpr
[
A
])
extends
ValidatedWrapper
[
A
]
Attributes
Companion:
object
Graph
Reset zoom
Hide graph
Show graph
Supertypes
trait
ValidatedWrapper
[
A
]
trait
Wrapper
[
A
]
class
Object
trait
Matchable
class
Any
Self type
Subtype
[
A
]
Clear all
Members list
Concise view
Type members
Inherited classlikes
trait
ValidateEvidence
Attributes
Inherited from:
ValidatedWrapper
Graph
Reset zoom
Hide graph
Show graph
Supertypes
class
Object
trait
Matchable
class
Any
Types
opaque
type
Type
Value members
Concrete methods
inline
def
apply
(
inline
value
:
A
):
Type
inline
def
cast
(
inline
value
:
Type
):
A
inline
def
castF
[
F
[
_
]](
inline
value
:
F
[
Type
]):
F
[
A
]
def
make
(
value
:
A
):
Either
[
String
,
Type
]
Inherited methods
def
failureMessage
:
String
Attributes
Inherited from:
ValidatedWrapper
def
validate
(
value
:
A
):
Boolean
Attributes
Inherited from:
ValidatedWrapper
Givens
Inherited givens
inline
given
given_ValidateEvidence
:
ValidateEvidence
Attributes
Inherited from:
ValidatedWrapper
Extensions
Inherited extensions
extension
(x$1:
ValidateEvidence
)
inline
def
??
(
inline
bool
:
Boolean
)(
message
:
String
):
Boolean
Attributes
Inherited from:
ValidatedWrapper
extension
(x$1:
ValidateEvidence
)
inline
def
isEmail
(
inline
string
:
String
):
Boolean
Attributes
Inherited from:
ValidatedWrapper
inline
def
isURL
(
inline
string
:
String
):
Boolean
Attributes
Inherited from:
ValidatedWrapper
inline
def
isUUID
(
inline
string
:
String
):
Boolean
Attributes
Inherited from:
ValidatedWrapper