mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-01 05:11:34 +02:00
9 lines
191 B
TypeScript
9 lines
191 B
TypeScript
import { RailElement } from './rail-types'
|
|
|
|
export function shouldIncludeRailTab({ hide }: RailElement): boolean {
|
|
if (typeof hide === 'function') {
|
|
return !hide()
|
|
}
|
|
return !hide
|
|
}
|