@laserware/arcade

    Function createCustomEqual

    • Create a custom equality comparison method.

      This can be done to create very targeted comparisons in extreme hot-path scenarios where the standard methods are not performant enough, but can also be used to provide support for legacy environments that do not support expected features like RegExp.prototype.flags out of the box.

      Type Parameters

      • Meta = undefined

      Parameters

      • Optionaloptions: CustomEqualCreatorOptions<Meta>

      Returns <A, B>(a: A, b: B) => boolean

    MMNEPVFCICPMFPCPTTAAATR