import { isNull, isUndefined } from '@antv/util'; export function isValid(x: any) { return !isUndefined(x) && !isNull(x) && !Number.isNaN(x); }