Model loading · function

describeRecognised

The refusal, as one block of text a person can act on.

Explained in Importing models.

function describeRecognised(found: Recognised, filename: string): string
import { describeRecognised } from '@driftengine/assets';

Parameters

ParameterTypeDescription
foundRecognised
filenamestring

In depth

Written here rather than at the call site so the CLI, a future editor and anything else that meets one of these files says the same thing. A refusal that varies by caller is a refusal somebody has to read twice.