@deephaven/jsapi-utils
v1.10.1
Published
Deephaven JSAPI Utils
Keywords
Readme
@deephaven/jsapi-utils
A library with some JS utility methods for interacting with the JSAPI.
Install
npm install --save @deephaven/jsapi-utilsUsage
import { TableUtils } from '@deephaven/jsapi-utils';
if (TableUtils.isDateType(columnType)) {
console.log('Date type', columnType);
} else if (TableUtils.isNumberType(columnType)) {
console.log('Number type', columnType);
} else {
console.log('Unrecognized type', columnType);
}