MCPcopy Create free account
hub / github.com/code100x/cms / getDisabledFeature

Function getDisabledFeature

src/lib/utils.ts:363–368  ·  view source on GitHub ↗
(feature: string)

Source from the content-addressed store, hash-verified

361};
362
363export const getDisabledFeature = (feature: string): boolean => {
364 return (process.env.NEXT_PUBLIC_DISABLE_FEATURES || '')
365 .toLowerCase()
366 .split(',')
367 .includes(feature);
368};
369
370export type CourseContentType = 'folder' | 'video' | 'notion';
371

Callers 2

QuestionsPageFunction · 0.90
pageFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected