[F] isApplicableMetadata
function isApplicableMetadata( program, property, visibility, isMetadataCallback): boolean;Determines if the given property is metadata that is applicable with the given visibility.
- No metadata is applicable with Visibility.Item present.
- If only Visibility.Read is present, then only
@headerand@statusproperties are applicable. - If Visibility.Read is not present, all metadata properties other than
@statusCodeare applicable.
Parameters
Section titled “Parameters”| Parameter | Type | Default value |
|---|---|---|
program | Program | undefined |
property | ModelProperty | undefined |
visibility | Visibility | undefined |
isMetadataCallback | (program, property) => boolean | isMetadata |
Returns
Section titled “Returns”boolean