isApprovalRecordV1()
isApprovalRecordV1(
value):value is ApprovalRecordV1
Defined in: core/src/types/approval.ts:166
Type guard for an approval record: exact keys, every field pattern and the maxWeight range of the schema.
Use parseApprovalRecord on file content, it also checks the exact bytes.
Parameters
value
unknown
Returns
value is ApprovalRecordV1