Search
Preparing search index...
The search index is not available
Kryo
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"types/codepoint-string"
CodepointStringType
Class CodepointStringType
Hierarchy
CodepointStringType
Implements
IoType
<
string
>
VersionedType
<
string
,
Diff
>
Index
Constructors
constructor
Properties
_options
enforce
Unicode
Reg
Exp
lower
Case
max
Codepoints
min
Codepoints
name
normalization
pattern
trimmed
unorm
Methods
_apply
Options
clone
diff
equals
patch
read
reverse
Diff
squash
test
test
Error
toJSON
write
fromJSON
Constructors
constructor
new
Codepoint
String
Type
(
options
:
Lazy
<
CodepointStringOptions
>
)
:
CodepointStringType
Parameters
options:
Lazy
<
CodepointStringOptions
>
Returns
CodepointStringType
Properties
Private
_options
_options
:
Lazy
<
CodepointStringOptions
>
enforce
Unicode
Reg
Exp
enforce
Unicode
Reg
Exp
:
boolean
lower
Case
lower
Case
:
boolean
max
Codepoints
max
Codepoints
:
number
Optional
min
Codepoints
min
Codepoints
:
undefined
|
number
name
name
:
Name
= name
normalization
normalization
:
Normalization
Optional
pattern
pattern
:
RegExp
trimmed
trimmed
:
boolean
Optional
unorm
unorm
:
UnormLike
Methods
Private
_apply
Options
_apply
Options
(
)
:
void
Returns
void
clone
clone
(
val
:
string
)
:
string
Parameters
val:
string
Returns
string
diff
diff
(
oldVal
:
string
, newVal
:
string
)
:
Diff
|
undefined
Parameters
oldVal:
string
newVal:
string
Returns
Diff
|
undefined
equals
equals
(
val1
:
string
, val2
:
string
)
:
boolean
Parameters
val1:
string
val2:
string
Returns
boolean
patch
patch
(
oldVal
:
string
, diff
:
Diff
|
undefined
)
:
string
Parameters
oldVal:
string
diff:
Diff
|
undefined
Returns
string
read
read<R>
(
reader
:
Reader
<
R
>
, raw
:
R
)
:
string
Type parameters
R
Parameters
reader:
Reader
<
R
>
raw:
R
Returns
string
reverse
Diff
reverse
Diff
(
diff
:
Diff
|
undefined
)
:
Diff
|
undefined
Parameters
diff:
Diff
|
undefined
Returns
Diff
|
undefined
squash
squash
(
diff1
:
Diff
|
undefined
, diff2
:
Diff
|
undefined
)
:
Diff
|
undefined
Parameters
diff1:
Diff
|
undefined
diff2:
Diff
|
undefined
Returns
Diff
|
undefined
test
test
(
val
:
string
)
:
boolean
Parameters
val:
string
Returns
boolean
test
Error
test
Error
(
val
:
string
)
:
Error
|
undefined
Parameters
val:
string
Returns
Error
|
undefined
toJSON
toJSON
(
)
:
Type
Returns
Type
write
write<W>
(
writer
:
Writer
<
W
>
, value
:
string
)
:
W
Type parameters
W
Parameters
writer:
Writer
<
W
>
value:
string
Returns
W
Static
fromJSON
fromJSON
(
options
:
Type
)
:
CodepointStringType
Parameters
options:
Type
Returns
CodepointStringType
Globals
"types/codepoint-
string"
json
Normalization
Codepoint
String
Type
constructor
_options
enforce
Unicode
Reg
Exp
lower
Case
max
Codepoints
min
Codepoints
name
normalization
pattern
trimmed
unorm
_apply
Options
clone
diff
equals
patch
read
reverse
Diff
squash
test
test
Error
toJSON
write
fromJSON
Codepoint
String
Options
Unorm
Like
Diff
Name
Unorm
Nfc
name
Generated using
TypeDoc