Skip to content

Function: isGgufMetadataOfArchitectureType()

ts
function isGgufMetadataOfArchitectureType<A>(metadata: GgufMetadata<GgufArchitectureType>, type: A): metadata is GgufMetadata<A>

Type Parameters

Type Parameter
A extends GgufArchitectureType

Parameters

ParameterType
metadataGgufMetadata<GgufArchitectureType>
typeA

Returns

metadata is GgufMetadata<A>

Defined in

gguf/types/GgufMetadataTypes.ts:463