Table of contents


getDense (function)

Signature

export const getDense = <D extends string>(dimension: D): Type<Dense<D>, [string, string], mixed> =>
  new Type(
    'Dense',
    (m): m is Dense<D> => m instanceof Dense && m.dimension === dimension,
    (m, c) => Rational.validate(m, c).map(r => new Dense(dimension, r)),
    a => ...