Skip to content

[F] isApplicableMetadataOrBody

function isApplicableMetadataOrBody(
program,
property,
visibility,
isMetadataCallback): boolean

Determines if the given property is metadata or marked @body and applicable with the given visibility.

Parameters

ParameterTypeDefault value
programProgramundefined
propertyModelPropertyundefined
visibilityVisibilityundefined
isMetadataCallback(program, property) => booleanisMetadata

Returns

boolean