• Parameters

    • haystack:
          | Uint8Array
          | Uint16Array
          | Uint32Array
          | Int8Array
          | Int16Array
          | Int32Array
          | Float32Array
          | Float64Array
    • needle: number
    • Optionalstart: number

    Returns number

  • Parameters

    • haystack: BigInt64Array | BigUint64Array
    • needle: bigint
    • Optionalstart: number

    Returns number