Devendra174's picture
Upload folder using huggingface_hub
1e92f2d verified
raw
history blame
219 Bytes
import type { InternalFieldName } from '../types';
import getNodeParentName from './getNodeParentName';
export default (names: Set<InternalFieldName>, name: InternalFieldName) =>
names.has(getNodeParentName(name));