Function areUsjContentsEqualExceptWhitespace

  • Determines if the USJ documents or markers (and all contents) are equivalent after regularizing spaces according to the way ParatextData.dll does.

    Note that this will not work properly if there ever exist any properties of USJ document or USJ markers other than content that are complex objects like arrays or objects as the properties are shallow equaled.

    Parameters

    • a: undefined | Usj
    • b: undefined | Usj

    Returns boolean