• Apply a checking function recursively to objects and collections

    Parameters

    • Optionalcheck: Function = ...

      Function to apply to compare primitive values. Defaults to strict equality

    Returns (actual: any, expect: any) => boolean