import { or } from '@typed/logic' ; export const isArgumentFlag = or ( isNamedFlag , isAliasFlag ) ; export function isNamedFlag ( arg ) { return arg . startsWith ( '--' ) ; } export function isAliasFlag ( arg ) { return arg . startsWith ( '-' ) ; }