Node TAP
    Preparing search index...

    Variable matchStrict

    matchStrict: (
        found: any,
        wanted: any,
        ...__namedParameters: MessageExtra,
    ) => boolean

    Type Declaration

      • (found: any, wanted: any, ...__namedParameters: MessageExtra): boolean
      • Verify that the value matches the pattern provided, but fail if any fields only match via type coercion.

        For example,

        t.matchStrict({ a: 1 }, { a: Number }, 'this passes')
        t.matchStrict({ a: 1 }, { a: '1' }, 'this fails')

        Parameters

        Returns boolean