Prelude API
Guides
Skill
GitHub
Preparing search index...
@prelude/parser
fromUntil
Function fromUntil
fromUntil
<
A
extends
Liftable
<
unknown
>
,
B
extends
Liftable
<
unknown
>
>
(
a
:
A
,
b
:
B
,
)
:
t
<
{
head
:
Parsed
<
A
>
;
inner
:
string
;
tail
:
Parsed
<
B
>
}
>
Parses input from
a
(head) until
b
(tail) returning inner string followed by head and tail.
Type Parameters
A
extends
Liftable
<
unknown
>
B
extends
Liftable
<
unknown
>
Parameters
a
:
A
b
:
B
Returns
t
<
{
head
:
Parsed
<
A
>
;
inner
:
string
;
tail
:
Parsed
<
B
>
}
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Guides
Skill
GitHub
Prelude API
Loading...
Parses input from
a(head) untilb(tail) returning inner string followed by head and tail.