Edgewise API
Docs
GitHub
Preparing search index...
helpers
lint
Function lint
lint
(
text
:
string
,
policies
:
Record
<
string
,
Question
>
,
o
?:
CommonOptions
&
{
model
?:
ModelRef
}
,
)
:
Promise
<
{
answers
:
{
[
key
:
string
]:
Answer
<
Question
>
}
;
findings
:
Finding
[]
;
passed
:
boolean
;
}
,
>
Evaluate policies (questions with thresholds).
passed
is false when any answer is flagged.
Parameters
text
:
string
policies
:
Record
<
string
,
Question
>
o
:
CommonOptions
&
{
model
?:
ModelRef
}
= {}
Returns
Promise
<
{
answers
:
{
[
key
:
string
]:
Answer
<
Question
>
}
;
findings
:
Finding
[]
;
passed
:
boolean
;
}
,
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Docs
GitHub
Edgewise API
Loading...
Evaluate policies (questions with thresholds).
passedis false when any answer is flagged.