Options
All
  • Public
  • Public/Protected
  • All
Menu

Utility functions used by the various reading system modules.

Index

Functions

fetchAverageAspectRatioFromReaderDocuments

  • fetchAverageAspectRatioFromReaderDocuments(readerDocuments: IReaderDocument[]): Promise<number | null>
  • Calculates the average aspect ratio from a list of reader documents

    Parameters

    Returns Promise<number | null>

isContentLocation

  • Check if the passed value is an instance of ContentLocation.

    Parameters

    • value: any

    Returns value is IContentLocation

isUnresolvedContentLocation

  • Check if the passed value is an instance of UnresolvedContentLocation.

    Parameters

    • value: any

    Returns value is IUnresolvedContentLocation

Generated using TypeDoc