Skip to main content
Version: Next

isPropertyDefinition

age-schema-client v0.5.0


age-schema-client / isPropertyDefinition

Function: isPropertyDefinition()

function isPropertyDefinition(value): value is PropertyDefinition;

Defined in: src/schema/guards.ts:66

Type guard for PropertyDefinition

Parameters

ParameterTypeDescription
valueunknownValue to check

Returns

value is PropertyDefinition

Whether the value is a PropertyDefinition