validateSubject: (
subject: any,
path: any,
options: any,
) => { errors: any[]; format: string; ok: boolean } = validateSubject
Type Declaration
-
- (
subject: any,
path: any,
options: any,
): { errors: any[]; format: string; ok: boolean }
-
Parameters
- subject: any
- path: any
- options: any
Returns { errors: any[]; format: string; ok: boolean }
{ ok, format, errors }
Validates one simple Subject Identifier against its format's closed member set, its required members and each member's value, collecting every problem rather than stopping at the first.