UNPKG

@mintlify/common

Version:

Commonly shared code within Mintlify

9 lines (8 loc) 372 B
export const isMdxJsxFlowElementHast = (node) => { return node.type === 'mdxJsxFlowElement'; }; export const isMdxJsxAttribute = (attribute) => attribute.type === 'mdxJsxAttribute'; export const paramFieldLocations = ['body', 'query', 'auth', 'cookie', 'path', 'header']; export const isParamFieldLocation = (str) => { return paramFieldLocations.includes(str); };