MAIDR Documentation - v4.4.0
    Preparing search index...
    • Convert an unknown value to a finite number, or null if the conversion is not possible. Callers should skip data items that return null to avoid silent data corruption.

      Coerces the way Number() does, so null reads as 0 and '' as 0: every caller here has already established that the value is present. A value that may legitimately be absent — anything read off an author's own row — goes through the declared reader's stricter conversion instead.

      Parameters

      • value: unknown

      Returns number | null