@ntix/parsing
Preparing search index...
ArrayParser
Class ArrayParser<T>
A parser
Type Parameters
T
Implements
IArray
.
Parser
<
T
>
Index
Constructors
constructor
Properties
parse
Accessors
not
Methods
each
max
Length
min
Length
of
unique
Constructors
constructor
new
ArrayParser
<
T
>
(
parent
:
IParser
<
unknown
>
,
parseCurrent
:
ICurrentParser
<
T
[]
>
,
negate
?:
boolean
,
)
:
ArrayParser
<
T
>
Type Parameters
T
Parameters
parent
:
IParser
<
unknown
>
parseCurrent
:
ICurrentParser
<
T
[]
>
negate
:
boolean
= false
Returns
ArrayParser
<
T
>
Properties
Readonly
parse
parse
:
IParse
<
T
[]
>
= ...
Accessors
not
get
not
()
:
ArrayParser
<
T
>
Returns
ArrayParser
<
T
>
Methods
Readonly
each
each
<
U
=
T
>
(
parser
:
IParser
<
U
>
)
:
ArrayParser
<
U
>
Type Parameters
U
=
T
Parameters
parser
:
IParser
<
U
>
Returns
ArrayParser
<
U
>
Readonly
max
Length
maxLength
(
maxValue
:
number
,
exclusive
?:
boolean
)
:
ArrayParser
<
T
>
Parameters
maxValue
:
number
exclusive
:
boolean
= false
Returns
ArrayParser
<
T
>
Readonly
min
Length
minLength
(
minValue
:
number
,
exclusive
?:
boolean
)
:
ArrayParser
<
T
>
Parameters
minValue
:
number
exclusive
:
boolean
= false
Returns
ArrayParser
<
T
>
Readonly
of
of
<
U
>
()
:
ArrayParser
<
U
>
Type Parameters
U
Returns
ArrayParser
<
U
>
Readonly
unique
unique
<
U
=
T
>
(
distinctor
:
(
item
:
U
)
=>
unknown
)
:
ArrayParser
<
U
>
Type Parameters
U
=
T
Parameters
distinctor
:
(
item
:
U
)
=>
unknown
Returns
ArrayParser
<
U
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
parse
Accessors
not
Methods
each
max
Length
min
Length
of
unique
@ntix/parsing
Loading...
A parser