@samatawy/checks
    Preparing search index...

    Class ImageCheck

    Common interface implemented by all check classes.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    buffer?: Uint8Array<ArrayBufferLike>
    type?: string
    width?: number
    height?: number
    key: string | number
    data: any
    has_value: boolean
    out: IResult

    Methods

    • Parameters

      • input: unknown
      • maxBytes: number = Infinity

      Returns Promise<Uint8Array<ArrayBufferLike>>

    • Parameters

      • buffer: Uint8Array
      • Optionaltype: string

      Returns Promise<{ width: number; height: number; type: string } | null>

    • Parameters

      • Optionalcurrent: string | string[]
      • Optionalincoming: string | string[]

      Returns string | string[] | undefined