UNPKG
prompt-manners
Version:
latest (0.0.11)
0.0.11
0.0.10
0.0.3
A prompt injection mitigation library
prompt-manners
/
dist
/
lib-core.d.ts
8 lines
(7 loc)
•
232 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
export declare
class
Optional
<
T
>
{
readonly
value
: T | undefined |
null
; constructor(
value
: T | undefined |
null
);
get
isPresent
(): boolean
;
static
of
<
T
>(
value
: T
):
Optional
<
T
>
;
static
empty
<
T
>(): Optional<T>
; }