import { getTag } from './get-tag.function' ; import { Tag } from './tag.enum' ; return export function isBoolean ( value ) { return typeof value === 'boolean' || getTag ( value ) === Tag . BOOLEAN ; }