json-fs-query
    Preparing search index...

    Function sameValue

    • Whether two values are equal for a field of the given declared type: both are normalized to that type (see compareAs) and compared strictly. A field with no declared type, or one that can't be normalized (object, array, or an unrecognized type), keeps loose equality.

      Parameters

      • type: string
      • a: any
      • b: any

      Returns boolean