0.32.1-auth-plugins.7 • Published 2 years ago

@deephaven/auth-core-plugins v0.32.1-auth-plugins.7

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 years ago

@deephaven/jsapi-utils

A library with some JS utility methods for interacting with the JSAPI.

Install

npm install --save @deephaven/jsapi-utils

Usage

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);
}